mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-29 21:35:20 +00:00
internal: macro_arg query always returns a TokenTree
This commit is contained in:
parent
e2a985e93f
commit
2fa57d90bc
12 changed files with 139 additions and 131 deletions
|
@ -242,7 +242,7 @@ macro_rules! foo {
|
|||
|
||||
fn f() {
|
||||
foo!();
|
||||
//^^^ error: invalid macro definition: expected subtree
|
||||
//^^^ error: macro definition has parse errors
|
||||
|
||||
}
|
||||
"#,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue