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