add FIXME's for a later refactoring
This commit is contained in:
parent
0589cd0f0a
commit
46973c9c8a
3 changed files with 7 additions and 3 deletions
|
@ -61,6 +61,7 @@ impl<'a, 'tcx, Bx: BuilderMethods<'a, 'tcx>> FunctionCx<'a, 'tcx, Bx> {
|
|||
LocalRef::Operand(ref mut op) => {
|
||||
let local_ty = self.monomorphize(self.mir.local_decls[local].ty);
|
||||
if local_ty != op.layout.ty {
|
||||
// FIXME(#112651): This can be changed to an ICE afterwards.
|
||||
debug!("updating type of operand due to subtyping");
|
||||
with_no_trimmed_paths!(debug!(?op.layout.ty));
|
||||
with_no_trimmed_paths!(debug!(?local_ty));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue