diff options
author | ice1000 <[email protected]> | 2019-12-03 17:03:35 +0000 |
---|---|---|
committer | ice1000 <[email protected]> | 2019-12-03 17:07:39 +0000 |
commit | 379482068d6ef985df5260473cac9d42331a6104 (patch) | |
tree | 749e92ebee714e411a64d9e4593a4e130f35186c /crates/ra_syntax/src/ast | |
parent | 96b9d5b44ed50160c7a4eb07a31bee5f05b1ecf3 (diff) |
Add `ModuleItemsOwner` to `Block`
Diffstat (limited to 'crates/ra_syntax/src/ast')
-rw-r--r-- | crates/ra_syntax/src/ast/generated.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/ra_syntax/src/ast/generated.rs b/crates/ra_syntax/src/ast/generated.rs index c06076e3d..9dd6bd3ea 100644 --- a/crates/ra_syntax/src/ast/generated.rs +++ b/crates/ra_syntax/src/ast/generated.rs | |||
@@ -312,6 +312,7 @@ impl AstNode for Block { | |||
312 | } | 312 | } |
313 | } | 313 | } |
314 | impl ast::AttrsOwner for Block {} | 314 | impl ast::AttrsOwner for Block {} |
315 | impl ast::ModuleItemOwner for Block {} | ||
315 | impl Block { | 316 | impl Block { |
316 | pub fn statements(&self) -> AstChildren<Stmt> { | 317 | pub fn statements(&self) -> AstChildren<Stmt> { |
317 | AstChildren::new(&self.syntax) | 318 | AstChildren::new(&self.syntax) |