1
Fork 0

Construct dyn* during const interp

This commit is contained in:
Michael Goulet 2022-08-29 03:24:30 +00:00 committed by Eric Holk
parent 12353c11ca
commit 12ec2f0e34
4 changed files with 16 additions and 11 deletions

View file

@ -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),
}
}