diff options
| author | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2024-08-11 20:21:39 +0000 |
|---|---|---|
| committer | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2024-08-11 20:21:39 +0000 |
| commit | b4e46de5f35727b31d80bf8a9a58191e63e6e57e (patch) | |
| tree | 9b5ef476ab85eff79c48ce9a3313db623e7fadf8 | |
| parent | 918e11d14d8ff3df97d96ec20ef878d4e97ba404 (diff) | |
| download | rust-b4e46de5f35727b31d80bf8a9a58191e63e6e57e.tar.gz rust-b4e46de5f35727b31d80bf8a9a58191e63e6e57e.zip | |
Fix clif ir text format emission
| -rw-r--r-- | src/abi/mod.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/abi/mod.rs b/src/abi/mod.rs index 24cf3f061a5..4d4cae625fa 100644 --- a/src/abi/mod.rs +++ b/src/abi/mod.rs @@ -505,7 +505,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] + )), ); } |
