2017-10-26 23:50:54 -05:00
|
|
|
error: expected one of `!`, `.`, `::`, `;`, `?`, `{`, `}`, or an operator, found `error`
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/main.rs:9:20
|
2017-10-26 23:50:54 -05:00
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | / macro_rules! pong {
|
|
|
|
LL | | () => { syntax error };
|
2017-12-08 20:35:55 -06:00
|
|
|
| | ^^^^^ expected one of 8 possible tokens here
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | | }
|
2017-12-08 20:35:55 -06:00
|
|
|
| |_- in this expansion of `pong!`
|
|
|
|
...
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | pong!();
|
2017-12-08 20:35:55 -06:00
|
|
|
| -------- in this macro invocation
|
2017-10-26 23:50:54 -05:00
|
|
|
|
|
|
|
error: expected one of `!`, `.`, `::`, `;`, `?`, `{`, `}`, or an operator, found `error`
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/main.rs:9:20
|
2017-10-26 23:50:54 -05:00
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | / macro_rules! pong {
|
|
|
|
LL | | () => { syntax error };
|
2017-12-08 20:35:55 -06:00
|
|
|
| | ^^^^^ expected one of 8 possible tokens here
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | | }
|
2017-12-08 20:35:55 -06:00
|
|
|
| |_- in this expansion of `pong!`
|
|
|
|
...
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | ping!();
|
2017-12-08 20:35:55 -06:00
|
|
|
| -------- in this macro invocation
|
|
|
|
|
|
2018-09-18 19:09:36 -05:00
|
|
|
::: <::ping::ping macros>:1:1
|
2017-12-08 20:35:55 -06:00
|
|
|
|
|
2019-07-13 16:11:59 -05:00
|
|
|
LL | () => { pong ! () ; }
|
|
|
|
| ---------------------
|
|
|
|
| | |
|
|
|
|
| | in this macro invocation
|
2017-12-08 20:35:55 -06:00
|
|
|
| in this expansion of `ping!`
|
|
|
|
|
|
|
|
error: expected one of `!`, `.`, `::`, `;`, `?`, `{`, `}`, or an operator, found `error`
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/main.rs:9:20
|
2017-12-08 20:35:55 -06:00
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | / macro_rules! pong {
|
|
|
|
LL | | () => { syntax error };
|
2017-12-08 20:35:55 -06:00
|
|
|
| | ^^^^^ expected one of 8 possible tokens here
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | | }
|
2017-12-08 20:35:55 -06:00
|
|
|
| |_- in this expansion of `pong!` (#5)
|
|
|
|
...
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | deep!();
|
2017-12-08 20:35:55 -06:00
|
|
|
| -------- in this macro invocation (#1)
|
|
|
|
|
|
2018-09-18 19:09:36 -05:00
|
|
|
::: <::ping::deep macros>:1:1
|
2017-12-08 20:35:55 -06:00
|
|
|
|
|
2019-07-13 16:11:59 -05:00
|
|
|
LL | () => { foo ! () ; }
|
|
|
|
| --------------------
|
|
|
|
| | |
|
|
|
|
| | in this macro invocation (#2)
|
2017-12-08 20:35:55 -06:00
|
|
|
| in this expansion of `deep!` (#1)
|
|
|
|
|
|
2018-09-18 19:09:36 -05:00
|
|
|
::: <::ping::foo macros>:1:1
|
2017-12-08 20:35:55 -06:00
|
|
|
|
|
2019-07-13 16:11:59 -05:00
|
|
|
LL | () => { bar ! () ; }
|
|
|
|
| --------------------
|
|
|
|
| | |
|
|
|
|
| | in this macro invocation (#3)
|
2017-12-08 20:35:55 -06:00
|
|
|
| in this expansion of `foo!` (#2)
|
|
|
|
|
|
2018-09-18 19:09:36 -05:00
|
|
|
::: <::ping::bar macros>:1:1
|
2017-12-08 20:35:55 -06:00
|
|
|
|
|
2019-07-13 16:11:59 -05:00
|
|
|
LL | () => { ping ! () ; }
|
|
|
|
| ---------------------
|
|
|
|
| | |
|
|
|
|
| | in this macro invocation (#4)
|
2017-12-08 20:35:55 -06:00
|
|
|
| in this expansion of `bar!` (#3)
|
|
|
|
|
|
2018-09-18 19:09:36 -05:00
|
|
|
::: <::ping::ping macros>:1:1
|
2017-12-08 20:35:55 -06:00
|
|
|
|
|
2019-07-13 16:11:59 -05:00
|
|
|
LL | () => { pong ! () ; }
|
|
|
|
| ---------------------
|
|
|
|
| | |
|
|
|
|
| | in this macro invocation (#5)
|
2017-12-08 20:35:55 -06:00
|
|
|
| in this expansion of `ping!` (#4)
|
2017-10-26 23:50:54 -05:00
|
|
|
|
2017-12-08 20:35:55 -06:00
|
|
|
error: aborting due to 3 previous errors
|
2017-10-26 23:50:54 -05:00
|
|
|
|