2020-03-17 09:37:59 +01:00
|
|
|
macro_rules! test {
|
|
|
|
|
($a, $b) => {
|
|
|
|
|
//~^ ERROR missing fragment
|
|
|
|
|
//~| ERROR missing fragment
|
|
|
|
|
()
|
|
|
|
|
};
|
|
|
|
|
}
|
2013-06-27 16:53:40 -07:00
|
|
|
|
|
|
|
|
fn main() {
|
2025-06-17 22:15:38 -04:00
|
|
|
test!() //~ ERROR unexpected end of macro invocation
|
2013-06-27 16:53:40 -07:00
|
|
|
}
|