diff options
author | uHOOCCOOHu <[email protected]> | 2019-08-29 18:56:00 +0100 |
---|---|---|
committer | uHOOCCOOHu <[email protected]> | 2019-08-31 18:54:41 +0100 |
commit | f5bea9051b81f3a490c08afdb336c63c9180aae0 (patch) | |
tree | dca2027e759bbaeaa116b1cae828cd28d507f6e3 /crates/ra_syntax/src/ast | |
parent | f2a200c1ee8016f47b35e2e13a899fc96286a1eb (diff) |
Support resolution of `#[macro_use] extern crate`
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 90480b6ca..d161470e7 100644 --- a/crates/ra_syntax/src/ast/generated.rs +++ b/crates/ra_syntax/src/ast/generated.rs | |||
@@ -934,6 +934,7 @@ impl AstNode for ExternCrateItem { | |||
934 | &self.syntax | 934 | &self.syntax |
935 | } | 935 | } |
936 | } | 936 | } |
937 | impl ast::AttrsOwner for ExternCrateItem {} | ||
937 | impl ExternCrateItem { | 938 | impl ExternCrateItem { |
938 | pub fn name_ref(&self) -> Option<NameRef> { | 939 | pub fn name_ref(&self) -> Option<NameRef> { |
939 | AstChildren::new(&self.syntax).next() | 940 | AstChildren::new(&self.syntax).next() |