mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2026-03-24 20:40:30 +00:00
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:
@@ -862,7 +862,7 @@ impl<'db, 'a> TyLoweringContext<'db, 'a> {
|
||||
TermKind::Ty(ty) => {
|
||||
ty.walk().any(|arg| arg == dummy_self_ty.into())
|
||||
}
|
||||
// FIXME(associated_const_equality): We should walk the const instead of not doing anything
|
||||
// FIXME(mgca): We should walk the const instead of not doing anything
|
||||
TermKind::Const(_) => false,
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user