rustc_feature: Convert BuiltinAttribute
from tuple to a struct
This commit is contained in:
parent
e4c23daeb4
commit
6655727041
6 changed files with 62 additions and 44 deletions
|
@ -731,7 +731,7 @@ impl<'a> Resolver<'a> {
|
|||
suggestions.extend(
|
||||
BUILTIN_ATTRIBUTES
|
||||
.iter()
|
||||
.map(|(name, ..)| TypoSuggestion::typo_from_res(*name, res)),
|
||||
.map(|attr| TypoSuggestion::typo_from_res(attr.name, res)),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue