1 2 3 4 5 6 7 8 9 10 11
#![deny(unused_macro_rules)] macro_rules! foo { (v) => {}; (w) => {}; () => 0; //~ ERROR: macro rhs must be delimited } fn main() { foo!(v); }