rust/tests/ui/macros/issue-39388.rs

10 lines
175 B
Rust

#![allow(unused_macros)]
macro_rules! assign {
(($($a:tt)*) = ($($b:tt))*) => { //~ ERROR expected one of: `*`, `+`, or `?`
$($a)* = $($b)*
}
}
fn main() {}