diff options
author | DJMcNab <[email protected]> | 2019-01-28 20:03:56 +0000 |
---|---|---|
committer | DJMcNab <[email protected]> | 2019-01-28 20:03:56 +0000 |
commit | 00e6b5d26c82d5faff066c24418a0eb5741efcd1 (patch) | |
tree | 82ad741bab4f820850ba6f13e2b760cc840f43fb /crates/ra_syntax/src/ast | |
parent | 137b1ccb715fe795cdf6c528bef6f8df3387f158 (diff) |
Parse and validate attributes in blocks
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 3ace6533c..ce559882b 100644 --- a/crates/ra_syntax/src/ast/generated.rs +++ b/crates/ra_syntax/src/ast/generated.rs | |||
@@ -272,6 +272,7 @@ impl ToOwned for Block { | |||
272 | } | 272 | } |
273 | 273 | ||
274 | 274 | ||
275 | impl ast::AttrsOwner for Block {} | ||
275 | impl Block { | 276 | impl Block { |
276 | pub fn statements(&self) -> impl Iterator<Item = &Stmt> { | 277 | pub fn statements(&self) -> impl Iterator<Item = &Stmt> { |
277 | super::children(self) | 278 | super::children(self) |