Skip to content

Commit 820bfac

Browse files
committed
Merge associated_const_equality feature gate into MGCA
This removes `associated_const_equality` as a separate feature gate and makes it part of `min_generic_const_args` (mgca). Key changes: - Remove `associated_const_equality` from unstable features, add to removed - Update all test files to use `min_generic_const_args` instead - Preserve the original "associated const equality is incomplete" error message by specially handling `sym::associated_const_equality` spans in `feature_gate.rs` - Rename FIXME(associated_const_equality) to FIXME(mgca)
1 parent fece728 commit 820bfac

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

crates/hir-ty/src/lower.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -862,7 +862,7 @@ impl<'db, 'a> TyLoweringContext<'db, 'a> {
862862
TermKind::Ty(ty) => {
863863
ty.walk().any(|arg| arg == dummy_self_ty.into())
864864
}
865-
// FIXME(associated_const_equality): We should walk the const instead of not doing anything
865+
// FIXME(mgca): We should walk the const instead of not doing anything
866866
TermKind::Const(_) => false,
867867
};
868868

0 commit comments

Comments
 (0)