add FIXME's for a later refactoring

This commit is contained in:
lcnr
2023-06-19 09:16:26 +02:00
parent 0589cd0f0a
commit 46973c9c8a
3 changed files with 7 additions and 3 deletions

View File

@@ -274,6 +274,7 @@ fn compute_copy_classes(ssa: &mut SsaLocals, body: &Body<'_>) {
let local_ty = body.local_decls()[local].ty;
let rhs_ty = body.local_decls()[rhs].ty;
if local_ty != rhs_ty {
// FIXME(#112651): This can be removed afterwards.
trace!("skipped `{local:?} = {rhs:?}` due to subtyping: {local_ty} != {rhs_ty}");
continue;
}