]> git.proxmox.com Git - rustc.git/blob - tests/ui/issues/issue-26237.rs
New upstream version 1.68.2+dfsg1
[rustc.git] / tests / ui / issues / issue-26237.rs
1 macro_rules! macro_panic {
2 ($not_a_function:expr, $some_argument:ident) => {
3 $not_a_function($some_argument)
4 }
5 }
6
7 fn main() {
8 let mut value_a = 0;
9 let mut value_b = 0;
10 macro_panic!(value_a, value_b);
11 //~^ ERROR expected function, found `{integer}`
12 }