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