Skip to content

Commit

Permalink
format > to_string
Browse files Browse the repository at this point in the history
  • Loading branch information
RalfJung committed Sep 21, 2022
1 parent 33284ec commit c672c35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shims/intrinsics/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ pub trait EvalContextExt<'mir, 'tcx: 'mir>: crate::MiriInterpCxExt<'mir, 'tcx> {
"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}`"),
Expand Down

0 comments on commit c672c35

Please sign in to comment.