diff options
author | Benjamin Coenen <[email protected]> | 2020-05-06 08:57:00 +0100 |
---|---|---|
committer | Benjamin Coenen <[email protected]> | 2020-05-06 08:57:00 +0100 |
commit | c4d128e454448191c4b21d8e151c673e4c42376e (patch) | |
tree | 17cf5bbf429642c52708cd0d3c1d8885b63543f0 /xtask/src/ast_src.rs | |
parent | 0bf02f5ccac99c91f10ef46bb06ff2ea316c382c (diff) | |
parent | 30eb458b4fa8adcecd8cbf731bd1cfa9a7a8b88b (diff) |
Merge branch 'master' of github.com:rust-analyzer/rust-analyzer into fix_4311
Diffstat (limited to 'xtask/src/ast_src.rs')
-rw-r--r-- | xtask/src/ast_src.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xtask/src/ast_src.rs b/xtask/src/ast_src.rs index 2f8065b73..fe3eb85de 100644 --- a/xtask/src/ast_src.rs +++ b/xtask/src/ast_src.rs | |||
@@ -373,7 +373,7 @@ pub(crate) const AST_SRC: AstSrc = AstSrc { | |||
373 | 373 | ||
374 | struct ItemList: ModuleItemOwner { | 374 | struct ItemList: ModuleItemOwner { |
375 | T!['{'], | 375 | T!['{'], |
376 | impl_items: [ImplItem], | 376 | assoc_items: [AssocItem], |
377 | T!['}'] | 377 | T!['}'] |
378 | } | 378 | } |
379 | 379 | ||
@@ -685,7 +685,7 @@ pub(crate) const AST_SRC: AstSrc = AstSrc { | |||
685 | } | 685 | } |
686 | 686 | ||
687 | /* impl blocks can also contain MacroCall */ | 687 | /* impl blocks can also contain MacroCall */ |
688 | enum ImplItem: NameOwner, AttrsOwner { | 688 | enum AssocItem: NameOwner, AttrsOwner { |
689 | FnDef, TypeAliasDef, ConstDef | 689 | FnDef, TypeAliasDef, ConstDef |
690 | } | 690 | } |
691 | 691 | ||