Searched refs:pretty_error (Results 1 – 6 of 6) sorted by relevance
8 use cranelift_codegen::print_errors::pretty_error;105 .map_err(|err| anyhow::anyhow!("{}", pretty_error(&err.func, err.inner)))?; in handle_module()
110 let s = cranelift_codegen::print_errors::pretty_error(func, err); in pretty_anyhow_error()
214 pub fn pretty_error(func: &ir::Function, err: CodegenError) -> String { in pretty_error() function
142 let pretty_error = in switch_error() localVariable
16 use cranelift_codegen::print_errors::pretty_error;1016 .map_err(|error| CompileError::Codegen(pretty_error(&error.func, error.inner)))?; in compile_maybe_cached()1046 .map_err(|error| CompileError::Codegen(pretty_error(&error.func, error.inner)))?; in compile_uncached()1534 .map_err(|error| CompileError::Codegen(pretty_error(&context.func, error)))?; in finish_with_info()1558 .map_err(|error| CompileError::Codegen(pretty_error(&context.func, error)))?; in finish_with_info()
159 let pretty_error = in switch_error() localVariable