about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2025-07-05 09:12:36 +0200
committerRalf Jung <post@ralfj.de>2025-07-05 09:12:36 +0200
commit72043e3181a4050f02cdb1d6e2574c54c1b47013 (patch)
tree930e08c5f944973fe520ff75298b858ca17fdf74
parent61f3705920822819721c8d17a012adc93914b312 (diff)
downloadrust-72043e3181a4050f02cdb1d6e2574c54c1b47013.tar.gz
rust-72043e3181a4050f02cdb1d6e2574c54c1b47013.zip
fmt
-rw-r--r--src/tools/miri/src/shims/foreign_items.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/tools/miri/src/shims/foreign_items.rs b/src/tools/miri/src/shims/foreign_items.rs
index 1b66735ddb1..9ddba8c2b48 100644
--- a/src/tools/miri/src/shims/foreign_items.rs
+++ b/src/tools/miri/src/shims/foreign_items.rs
@@ -615,7 +615,9 @@ trait EvalContextExtPriv<'tcx>: crate::MiriInterpCxExt<'tcx> {
                 // This is a no-op shim that only exists to prevent making the allocator shims instantly stable.
                 let [] = this.check_shim(abi, CanonAbi::Rust, link_name, args)?;
             }
-            name if name == this.mangle_internal_symbol("__rust_alloc_error_handler_should_panic_v2") => {
+            name if name
+                == this.mangle_internal_symbol("__rust_alloc_error_handler_should_panic_v2") =>
+            {
                 // Gets the value of the `oom` option.
                 let [] = this.check_shim(abi, CanonAbi::Rust, link_name, args)?;
                 let val = this.tcx.sess.opts.unstable_opts.oom.should_panic();