2020-03-17 09:37:59 +01:00
|
|
|
macro_rules! test {
|
|
|
|
($a, $b) => {
|
|
|
|
//~^ ERROR missing fragment
|
|
|
|
//~| ERROR missing fragment
|
2022-04-08 16:04:37 +03:00
|
|
|
//~| ERROR missing fragment
|
|
|
|
//~| WARN this was previously accepted
|
2020-12-19 16:30:56 -05:00
|
|
|
//~| WARN this was previously accepted
|
2020-03-17 09:37:59 +01:00
|
|
|
()
|
|
|
|
};
|
|
|
|
}
|
2013-06-27 16:53:40 -07:00
|
|
|
|
|
|
|
fn main() {
|
2014-10-12 12:42:41 +01:00
|
|
|
test!()
|
2013-06-27 16:53:40 -07:00
|
|
|
}
|