]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/issue-44406.rs
Auto merge of #82576 - gilescope:to_string, r=Amanieu
[rust.git] / src / test / ui / parser / issue-44406.rs
1 macro_rules! foo {
2     ($rest: tt) => {
3         bar(baz: $rest)
4     }
5 }
6
7 fn main() {
8     foo!(true); //~ ERROR expected type, found keyword
9     //~^ ERROR expected identifier, found keyword
10 }