mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 12:29:21 +00:00
make macro a NameOwner
This commit is contained in:
parent
e7b370226c
commit
2efdf41bdb
6 changed files with 14 additions and 5 deletions
|
@ -1908,6 +1908,7 @@ impl ToOwned for MacroCall {
|
|||
}
|
||||
|
||||
|
||||
impl ast::NameOwner for MacroCall {}
|
||||
impl MacroCall {
|
||||
pub fn token_tree(&self) -> Option<&TokenTree> {
|
||||
super::child_opt(self)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue