rust/tests/ui/macros/issue-39388.rs
2023-01-11 09:32:08 +00:00

10 lines
175 B
Rust

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