Files
rust/tests/ui/macros/macro-missing-fragment-deduplication.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
270 B
Rust
Raw Normal View History

//@ compile-flags: -Zdeduplicate-diagnostics=yes
macro_rules! m {
($name) => {}; //~ ERROR missing fragment
}
fn main() {
m!(); //~ ERROR unexpected end
m!(); //~ ERROR unexpected end
m!(); //~ ERROR unexpected end
m!(); //~ ERROR unexpected end
}