aboutsummaryrefslogtreecommitdiff
path: root/crates/libsyntax2/src/ast
diff options
context:
space:
mode:
Diffstat (limited to 'crates/libsyntax2/src/ast')
-rw-r--r--crates/libsyntax2/src/ast/generated.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/libsyntax2/src/ast/generated.rs b/crates/libsyntax2/src/ast/generated.rs
index 4a57837df..a239f0630 100644
--- a/crates/libsyntax2/src/ast/generated.rs
+++ b/crates/libsyntax2/src/ast/generated.rs
@@ -698,6 +698,7 @@ impl<'a> AstNode<'a> for ItemList<'a> {
698 fn syntax(self) -> SyntaxNodeRef<'a> { self.syntax } 698 fn syntax(self) -> SyntaxNodeRef<'a> { self.syntax }
699} 699}
700 700
701impl<'a> ast::FnDefOwner<'a> for ItemList<'a> {}
701impl<'a> ItemList<'a> { 702impl<'a> ItemList<'a> {
702 pub fn items(self) -> impl Iterator<Item = ModuleItem<'a>> + 'a { 703 pub fn items(self) -> impl Iterator<Item = ModuleItem<'a>> + 'a {
703 super::children(self) 704 super::children(self)