Added local macro goto

This commit is contained in:
Lenard Pratt 2019-04-24 21:16:50 +01:00
parent 12629d5e4f
commit 8198e13c26
9 changed files with 97 additions and 6 deletions

View file

@ -1761,6 +1761,7 @@ impl ToOwned for MacroCall {
impl ast::NameOwner for MacroCall {}
impl ast::AttrsOwner for MacroCall {}
impl ast::DocCommentsOwner for MacroCall {}
impl MacroCall {
pub fn token_tree(&self) -> Option<&TokenTree> {
super::child_opt(self)