diff options
| author | lcnr <rust@lcnr.de> | 2023-06-19 09:16:26 +0200 |
|---|---|---|
| committer | lcnr <rust@lcnr.de> | 2023-06-19 09:16:26 +0200 |
| commit | 46973c9c8a775faa92eb10c478490c9b69f2eab6 (patch) | |
| tree | 7ccdca9b577e666b8fe06b306d741dfbd42bc20a /compiler/rustc_codegen_ssa/src | |
| parent | 0589cd0f0a9536d028c2118c5b08ee5872d9e9d7 (diff) | |
| download | rust-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.rs | 1 |
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)); |
