mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-29 20:46:07 +03:00
Auto merge of #93095 - Aaron1011:remove-assoc-ident, r=cjgillot
Store a `Symbol` instead of an `Ident` in `AssocItem` This is the same idea as #92533, but for `AssocItem` instead of `VariantDef`/`FieldDef`. With this change, we no longer have any uses of `#[stable_hasher(project(...))]`
This commit is contained in:
@@ -87,7 +87,7 @@ fn check_crate_post(&mut self, cx: &LateContext<'tcx>) {
|
||||
.filter(|assoc_item| {
|
||||
matches!(assoc_item.kind, AssocKind::Fn)
|
||||
})
|
||||
.map(|assoc_item| assoc_item.ident.name)
|
||||
.map(|assoc_item| assoc_item.name)
|
||||
.collect()
|
||||
}else{
|
||||
BTreeSet::new()
|
||||
|
||||
Reference in New Issue
Block a user