rust/tests/ui/parser/issues/issue-44406.rs

10 lines
164 B
Rust

macro_rules! foo {
($rest: tt) => {
bar(baz: $rest) //~ ERROR invalid `struct` delimiters or `fn` call arguments
}
}
fn main() {
foo!(true);
}