Auto merge of #16540 - Veykril:macro-arg, r=Veykril

internal: macro_arg query always returns a TokenTree
This commit is contained in:
bors 2024-02-12 16:32:40 +00:00
commit cf8733353d
12 changed files with 139 additions and 131 deletions

View file

@ -242,7 +242,7 @@ macro_rules! foo {
fn f() {
foo!();
//^^^ error: invalid macro definition: expected subtree
//^^^ error: macro definition has parse errors
}
"#,