mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-01 06:51:58 +00:00
15 lines
287 B
Rust
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!()
|
|
}
|