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)
This commit is contained in:
AprilNEA 2026-01-03 16:24:56 +08:00
parent 451b7b6c77
commit 4421270516
No known key found for this signature in database
GPG key ID: 80384D1232DF8242
66 changed files with 166 additions and 162 deletions

View file

@ -868,7 +868,7 @@ where
.map(|(pred, _)| pred),
));
// FIXME(associated_const_equality): Also add associated consts to
// FIXME(mgca): Also add associated consts to
// the requirements here.
for associated_type_def_id in cx.associated_type_def_ids(trait_ref.def_id) {
// associated types that require `Self: Sized` do not show up in the built-in