// a local macro
macro_rules! pong {
() => { syntax error };
- //~^ ERROR expected one of
- //~| ERROR expected one of
- //~| ERROR expected one of
}
+//~^^ ERROR expected one of
+//~| ERROR expected one of
+//~| ERROR expected one of
fn main() {
pong!();
18 | / macro_rules! pong {
19 | | () => { syntax error };
| | ^^^^^ expected one of 8 possible tokens here
-20 | | //~^ ERROR expected one of
-21 | | //~| ERROR expected one of
-22 | | //~| ERROR expected one of
-23 | | }
+20 | | }
| |_- in this expansion of `pong!`
...
26 | pong!();
18 | / macro_rules! pong {
19 | | () => { syntax error };
| | ^^^^^ expected one of 8 possible tokens here
-20 | | //~^ ERROR expected one of
-21 | | //~| ERROR expected one of
-22 | | //~| ERROR expected one of
-23 | | }
+20 | | }
| |_- in this expansion of `pong!`
...
27 | ping!();
18 | / macro_rules! pong {
19 | | () => { syntax error };
| | ^^^^^ expected one of 8 possible tokens here
-20 | | //~^ ERROR expected one of
-21 | | //~| ERROR expected one of
-22 | | //~| ERROR expected one of
-23 | | }
+20 | | }
| |_- in this expansion of `pong!` (#5)
...
28 | deep!();