mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-02 06:41:48 +00:00
Rename ImplItem to AssocItem
This commit is contained in:
parent
756e91732b
commit
92665358cd
12 changed files with 83 additions and 77 deletions
|
@ -373,7 +373,7 @@ pub(crate) const AST_SRC: AstSrc = AstSrc {
|
|||
|
||||
struct ItemList: ModuleItemOwner {
|
||||
T!['{'],
|
||||
impl_items: [ImplItem],
|
||||
assoc_items: [AssocItem],
|
||||
T!['}']
|
||||
}
|
||||
|
||||
|
@ -685,7 +685,7 @@ pub(crate) const AST_SRC: AstSrc = AstSrc {
|
|||
}
|
||||
|
||||
/* impl blocks can also contain MacroCall */
|
||||
enum ImplItem: NameOwner, AttrsOwner {
|
||||
enum AssocItem: NameOwner, AttrsOwner {
|
||||
FnDef, TypeAliasDef, ConstDef
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue