Construct dyn* during const interp
This commit is contained in:
parent
12353c11ca
commit
12ec2f0e34
4 changed files with 16 additions and 11 deletions
|
@ -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),
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue