rust/src/test/ui/parser/macro-mismatched-delim-brace-paren.rs

8 lines
135 B
Rust

macro_rules! foo { ($($tt:tt)*) => () }
fn main() {
foo! {
bar, "baz", 1, 2.0
) //~ ERROR incorrect close delimiter
}