rustc_metadata: Make attribute decoding slightly faster and stricter
Rename `CStore::item_attrs` -> `CStore::item_attrs_untracked` top follow conventions
This commit is contained in:
parent
636fd495c8
commit
4c6120c386
4 changed files with 24 additions and 22 deletions
|
@ -3420,7 +3420,7 @@ impl<'a> Resolver<'a> {
|
|||
|
||||
let attr = self
|
||||
.cstore()
|
||||
.item_attrs(def_id, self.session)
|
||||
.item_attrs_untracked(def_id, self.session)
|
||||
.into_iter()
|
||||
.find(|a| a.has_name(sym::rustc_legacy_const_generics))?;
|
||||
let mut ret = Vec::new();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue