Skip to content

Commit f65e743

Browse files
committed
add fixme
1 parent 42e7338 commit f65e743

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

compiler/rustc_infer/src/infer/relate/generalize.rs

+3
Original file line numberDiff line numberDiff line change
@@ -451,6 +451,9 @@ where
451451
}
452452
}
453453
ty::ConstKind::Infer(InferConst::EffectVar(_)) => Ok(c),
454+
// FIXME: Unevaluated constants are also not rigid, so the current
455+
// approach of always relating them structurally is incomplete.
456+
//
454457
// FIXME: remove this branch once `structurally_relate_consts` is fully
455458
// structural.
456459
ty::ConstKind::Unevaluated(ty::UnevaluatedConst { def, args }) => {

0 commit comments

Comments
 (0)