minor tweaks
This commit is contained in:
parent
f92294f76b
commit
3206960ec6
8 changed files with 19 additions and 21 deletions
|
@ -287,7 +287,7 @@ impl<'mir, 'tcx: 'mir, M: Machine<'mir, 'tcx>> InterpCx<'mir, 'tcx, M> {
|
|||
// FIXME: This should be a span_bug (#80742)
|
||||
self.tcx.sess.delay_span_bug(
|
||||
self.frame().current_span(),
|
||||
&format!("Nullary MIR operator called for unsized type {}", ty),
|
||||
&format!("{null_op:?} MIR operator called for unsized type {ty}"),
|
||||
);
|
||||
throw_inval!(SizeOfUnsizedType(ty));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue