Skip to content

Commit d776d9e

Browse files
committed
Auto merge of #150640 - AprilNEA:mgca-merge-associated-const-equality, r=BoxyUwU
Merge `associated_const_equality` feature gate into MGCA Tracking Issues: rust-lang/rust#132980 rust-lang/rust#92827 Merge `associated_const_equality`(ACE) feature gate into `min_generic_const_args`(MGCA). - Replaces `features().associated_const_equality()` checks with `features().min_generic_const_args()` - Updates the parser to gate associated const equality under `min_generic_const_args` - Moves `associated_const_equality` to the removed features list - Removes the `associated_const_equality` method from the `Features` trait - Updates all affected tests and tools (rust-analyzer, clippy) Closes rust-lang/rust#150617 r? `@BoxyUwU`
2 parents 58d77bb + 820bfac commit d776d9e

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
@@ -850,7 +850,7 @@ impl<'db, 'a> TyLoweringContext<'db, 'a> {
850850
TermKind::Ty(ty) => {
851851
ty.walk().any(|arg| arg == dummy_self_ty.into())
852852
}
853-
// FIXME(associated_const_equality): We should walk the const instead of not doing anything
853+
// FIXME(mgca): We should walk the const instead of not doing anything
854854
TermKind::Const(_) => false,
855855
};
856856

0 commit comments

Comments
 (0)