]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-6596-2.rs
Rollup merge of #91804 - woppopo:const_clone, r=oli-obk
[rust.git] / src / test / ui / issues / issue-6596-2.rs
1 macro_rules! g {
2     ($inp:ident) => (
3         { $inp $nonexistent }
4         //~^ ERROR expected one of `!`, `.`, `::`, `;`, `?`, `{`, `}`, or an operator, found `$`
5     );
6 }
7
8 fn main() {
9     let foo = 0;
10     g!(foo);
11 }