aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax/src/ast
diff options
context:
space:
mode:
authorDJMcNab <[email protected]>2019-01-28 20:03:56 +0000
committerDJMcNab <[email protected]>2019-01-28 20:03:56 +0000
commit00e6b5d26c82d5faff066c24418a0eb5741efcd1 (patch)
tree82ad741bab4f820850ba6f13e2b760cc840f43fb /crates/ra_syntax/src/ast
parent137b1ccb715fe795cdf6c528bef6f8df3387f158 (diff)
Parse and validate attributes in blocks
Diffstat (limited to 'crates/ra_syntax/src/ast')
-rw-r--r--crates/ra_syntax/src/ast/generated.rs1
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
275impl ast::AttrsOwner for Block {}
275impl Block { 276impl 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)