We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 42e7338 commit f65e743Copy full SHA for f65e743
compiler/rustc_infer/src/infer/relate/generalize.rs
@@ -451,6 +451,9 @@ where
451
}
452
453
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
+ //
457
// FIXME: remove this branch once `structurally_relate_consts` is fully
458
// structural.
459
ty::ConstKind::Unevaluated(ty::UnevaluatedConst { def, args }) => {
0 commit comments