]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-6596-2.rs
Merge commit '98e2b9f25b6db4b2680a3d388456d9f95cb28344' into clippyup
[rust.git] / src / test / ui / issues / issue-6596-2.rs
1 #![feature(macro_rules)]
2
3 macro_rules! g {
4     ($inp:ident) => (
5         { $inp $nonexistent }
6         //~^ ERROR expected one of `!`, `.`, `::`, `;`, `?`, `{`, `}`, or an operator, found `$`
7     );
8 }
9
10 fn main() {
11     let foo = 0;
12     g!(foo);
13 }