]> git.proxmox.com Git - rustc.git/blame - src/test/ui/parser/issue-44406.rs
Merge tag 'debian/1.52.1+dfsg1-1_exp2' into proxmox/buster
[rustc.git] / src / test / ui / parser / issue-44406.rs
CommitLineData
abe05a73
XL
1macro_rules! foo {
2 ($rest: tt) => {
3 bar(baz: $rest)
4 }
5}
6
7453a54e 7fn main() {
ff7c6d11
XL
8 foo!(true); //~ ERROR expected type, found keyword
9 //~^ ERROR expected identifier, found keyword
223e47cc 10}