We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 23c7935 commit 28eb697Copy full SHA for 28eb697
1 file changed
src/base.rs
@@ -200,13 +200,13 @@ pub(crate) fn compile_fn(
200
));
201
}
202
Err(ModuleError::Compilation(CodegenError::Verifier(err))) => {
203
- let raw_error = format!("{:?}", err);
+ dcx.err(format!("{err:?}"));
204
let pretty_error = cranelift_codegen::print_errors::pretty_verifier_error(
205
&context.func,
206
Some(Box::new(&clif_comments)),
207
err,
208
);
209
- dcx.fatal(format!("cranelift verify error:\n{raw_error}\n{pretty_error}"));
+ dcx.fatal(format!("cranelift verify error:\n{pretty_error}"));
210
211
Err(err) => {
212
let mut clif = format_clif_ir_header(module.isa(), &codegened_func.symbol_name);
0 commit comments