rustc/tests/ui/macros/macro-match-nonterminal.rs
2023-08-02 10:33:26 +02:00

15 lines
287 B
Rust

macro_rules! test {
($a, $b) => {
//~^ ERROR missing fragment
//~| ERROR missing fragment
//~| ERROR missing fragment
//~| WARN this was previously accepted
//~| WARN this was previously accepted
()
};
}
fn main() {
test!()
}