Skip to content

Commit 72043e3

Browse files
committed
fmt
1 parent 61f3705 commit 72043e3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/tools/miri/src/shims/foreign_items.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -615,7 +615,9 @@ trait EvalContextExtPriv<'tcx>: crate::MiriInterpCxExt<'tcx> {
615615
// This is a no-op shim that only exists to prevent making the allocator shims instantly stable.
616616
let [] = this.check_shim(abi, CanonAbi::Rust, link_name, args)?;
617617
}
618-
name if name == this.mangle_internal_symbol("__rust_alloc_error_handler_should_panic_v2") => {
618+
name if name
619+
== this.mangle_internal_symbol("__rust_alloc_error_handler_should_panic_v2") =>
620+
{
619621
// Gets the value of the `oom` option.
620622
let [] = this.check_shim(abi, CanonAbi::Rust, link_name, args)?;
621623
let val = this.tcx.sess.opts.unstable_opts.oom.should_panic();

0 commit comments

Comments
 (0)