diff --git a/src/shims/intrinsics/mod.rs b/src/shims/intrinsics/mod.rs index b85c799e2da..e0985ace5be 100644 --- a/src/shims/intrinsics/mod.rs +++ b/src/shims/intrinsics/mod.rs @@ -365,7 +365,7 @@ fn emulate_intrinsic_by_name( "breakpoint" => { let [] = check_arg_count(args)?; // normally this would raise a SIGTRAP, which aborts if no debugger is connected - throw_machine_stop!(TerminationInfo::Abort("Trace/breakpoint trap".to_string())) + throw_machine_stop!(TerminationInfo::Abort(format!("Trace/breakpoint trap"))) } name => throw_unsup_format!("unimplemented intrinsic: `{name}`"),