mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 14:21:44 +00:00
Auto merge of #16540 - Veykril:macro-arg, r=Veykril
internal: macro_arg query always returns a TokenTree
This commit is contained in:
commit
cf8733353d
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