about summary refs log tree commit diff
path: root/compiler/rustc_codegen_ssa/src
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2022-08-29 03:24:30 +0000
committerEric Holk <ericholk@microsoft.com>2022-09-12 16:55:59 -0700
commit12ec2f0e34e230a5d95d7ef06c6de92efcdcbedf (patch)
tree9473b38dfac7be6716b52e839d3182dacf72cb04 /compiler/rustc_codegen_ssa/src
parent12353c11ca2848c15511d3b3d400fca412daff7b (diff)
downloadrust-12ec2f0e34e230a5d95d7ef06c6de92efcdcbedf.tar.gz
rust-12ec2f0e34e230a5d95d7ef06c6de92efcdcbedf.zip
Construct dyn* during const interp
Diffstat (limited to 'compiler/rustc_codegen_ssa/src')
-rw-r--r--compiler/rustc_codegen_ssa/src/mir/block.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_ssa/src/mir/block.rs b/compiler/rustc_codegen_ssa/src/mir/block.rs
index 438bb133fd1..0c7cd43eb27 100644
--- a/compiler/rustc_codegen_ssa/src/mir/block.rs
+++ b/compiler/rustc_codegen_ssa/src/mir/block.rs
@@ -907,7 +907,7 @@ impl<'a, 'tcx, Bx: BuilderMethods<'a, 'tcx>> FunctionCx<'a, 'tcx, Bx> {
                         llargs.push(data_ptr);
                         continue;
                     }
-                    _ => span_bug!(span, "can't codegen a virtual call on {:?}", op),
+                    _ => span_bug!(span, "can't codegen a virtual call on {:#?}", op),
                 }
             }