mirror of
https://github.com/rust-lang/rust
synced 2024-11-05 20:45:15 +00:00
16 lines
277 B
Rust
16 lines
277 B
Rust
//@ run-rustfix
|
|
|
|
#![allow(unused_macros)]
|
|
|
|
macro_rules! foo {
|
|
//~^ ERROR expected `!` after `macro_rules`
|
|
() => {};
|
|
}
|
|
|
|
macro_rules! bar {
|
|
//~^ ERROR expected `!` after `macro_rules`
|
|
//~^^ ERROR macro names aren't followed by a `!`
|
|
() => {};
|
|
}
|
|
|
|
fn main() {}
|