mirror of
https://git.proxmox.com/git/rustc
synced 2026-03-27 12:17:37 +00:00
11 lines
214 B
Rust
11 lines
214 B
Rust
macro_rules! foo {
|
|
($rest: tt) => {
|
|
bar(baz: $rest) //~ ERROR invalid `struct` delimiters or `fn` call arguments
|
|
}
|
|
}
|
|
|
|
fn main() {
|
|
foo!(true);
|
|
//~^ ERROR expected identifier, found keyword
|
|
}
|