mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-24 15:54:15 +00:00
16 lines
248 B
Rust
16 lines
248 B
Rust
// compile-flags: -Zdeduplicate-diagnostics=yes
|
|
|
|
macro_rules! m {
|
|
($name) => {}
|
|
//~^ ERROR missing fragment
|
|
//~| ERROR missing fragment
|
|
//~| WARN this was previously accepted
|
|
}
|
|
|
|
fn main() {
|
|
m!();
|
|
m!();
|
|
m!();
|
|
m!();
|
|
}
|