diff options
author | Aleksey Kladov <[email protected]> | 2019-02-11 16:23:13 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-02-11 16:24:13 +0000 |
commit | 2efdf41bdb178ebf1ff0f8e3b335f491c84d7fa3 (patch) | |
tree | 477852488ac98984574e11e068e911cc8d7aabd2 /crates/ra_syntax/src/ast | |
parent | e7b370226c9b3d045a805dae5b93231a0869bbca (diff) |
make macro a NameOwner
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 256277609..d2b080743 100644 --- a/crates/ra_syntax/src/ast/generated.rs +++ b/crates/ra_syntax/src/ast/generated.rs | |||
@@ -1908,6 +1908,7 @@ impl ToOwned for MacroCall { | |||
1908 | } | 1908 | } |
1909 | 1909 | ||
1910 | 1910 | ||
1911 | impl ast::NameOwner for MacroCall {} | ||
1911 | impl MacroCall { | 1912 | impl MacroCall { |
1912 | pub fn token_tree(&self) -> Option<&TokenTree> { | 1913 | pub fn token_tree(&self) -> Option<&TokenTree> { |
1913 | super::child_opt(self) | 1914 | super::child_opt(self) |