]> git.lizzy.rs Git - rust.git/blob - tests/ui/parser/issues/issue-44406.rs
Rollup merge of #106715 - BoxyUwU:new_solver_triagebot, r=lcnr
[rust.git] / tests / ui / parser / issues / issue-44406.rs
1 macro_rules! foo {
2     ($rest: tt) => {
3         bar(baz: $rest) //~ ERROR invalid `struct` delimiters or `fn` call arguments
4     }
5 }
6
7 fn main() {
8     foo!(true);
9     //~^ ERROR expected identifier, found keyword
10 }