]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-6596-2.rs
Merge commit 'bf1c6f9871f430e284b17aa44059e0d0395e28a6' 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 }