about summary refs log tree commit diff
path: root/compiler/rustc_codegen_ssa/src
diff options
context:
space:
mode:
authorlcnr <rust@lcnr.de>2023-06-19 09:16:26 +0200
committerlcnr <rust@lcnr.de>2023-06-19 09:16:26 +0200
commit46973c9c8a775faa92eb10c478490c9b69f2eab6 (patch)
tree7ccdca9b577e666b8fe06b306d741dfbd42bc20a /compiler/rustc_codegen_ssa/src
parent0589cd0f0a9536d028c2118c5b08ee5872d9e9d7 (diff)
downloadrust-46973c9c8a775faa92eb10c478490c9b69f2eab6.tar.gz
rust-46973c9c8a775faa92eb10c478490c9b69f2eab6.zip
add FIXME's for a later refactoring
Diffstat (limited to 'compiler/rustc_codegen_ssa/src')
-rw-r--r--compiler/rustc_codegen_ssa/src/mir/locals.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_codegen_ssa/src/mir/locals.rs b/compiler/rustc_codegen_ssa/src/mir/locals.rs
index b4eb8d0a687..da8bf5e7916 100644
--- a/compiler/rustc_codegen_ssa/src/mir/locals.rs
+++ b/compiler/rustc_codegen_ssa/src/mir/locals.rs
@@ -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));