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