about summary refs log tree commit diff
path: root/compiler/rustc_codegen_cranelift/src/abi/mod.rs
diff options
context:
space:
mode:
authorbjorn3 <17426603+bjorn3@users.noreply.github.com>2024-09-23 11:20:46 +0000
committerbjorn3 <17426603+bjorn3@users.noreply.github.com>2024-09-23 11:20:46 +0000
commitb40fe1ee2826a52b2f21c31c43d06caea40885c8 (patch)
treea400cd030ebfaed52706eabfba83888e3f295bbc /compiler/rustc_codegen_cranelift/src/abi/mod.rs
parenta772336fb3fbd1fe4493077fcfe04e0221296a99 (diff)
parent6d35b4c9a04580366fd800692a5b5db79d766530 (diff)
downloadrust-b40fe1ee2826a52b2f21c31c43d06caea40885c8.tar.gz
rust-b40fe1ee2826a52b2f21c31c43d06caea40885c8.zip
Merge commit '6d35b4c9a04580366fd800692a5b5db79d766530' into sync_cg_clif-2024-09-22
Diffstat (limited to 'compiler/rustc_codegen_cranelift/src/abi/mod.rs')
-rw-r--r--compiler/rustc_codegen_cranelift/src/abi/mod.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_cranelift/src/abi/mod.rs b/compiler/rustc_codegen_cranelift/src/abi/mod.rs
index cb74c59046b..892ec3e9585 100644
--- a/compiler/rustc_codegen_cranelift/src/abi/mod.rs
+++ b/compiler/rustc_codegen_cranelift/src/abi/mod.rs
@@ -508,7 +508,10 @@ pub(crate) fn codegen_terminator_call<'tcx>(
                 let nop_inst = fx.bcx.ins().nop();
                 fx.add_comment(
                     nop_inst,
-                    format!("virtual call; self arg pass mode: {:?}", fn_abi.args[0]),
+                    with_no_trimmed_paths!(format!(
+                        "virtual call; self arg pass mode: {:?}",
+                        fn_abi.args[0]
+                    )),
                 );
             }