fork/rust
git clone https://git.julia.blue/fork/rust
4fb7144ed15
1.43.0
1error: expected one of `!`, `.`, `::`, `;`, `?`, `{`, `}`, or an operator, found `error` 2 --> $DIR/main.rs:10:20 3 | 4LL | / macro_rules! pong { 5LL | | () => { syntax error }; 6 | | ^^^^^ expected one of 8 possible tokens 7LL | | } 8 | |_- in this expansion of `pong!` 9... 10LL | pong!(); 11 | -------- in this macro invocation 12 13error: expected one of `!`, `.`, `::`, `;`, `?`, `{`, `}`, or an operator, found `error` 14 --> $DIR/main.rs:10:20 15 | 16LL | / macro_rules! pong { 17LL | | () => { syntax error }; 18 | | ^^^^^ expected one of 8 possible tokens 19LL | | } 20 | |_- in this expansion of `pong!` 21... 22LL | ping!(); 23 | -------- in this macro invocation 24 | 25 ::: <::ping::ping macros>:1:1 26 | 27LL | () => { pong ! () ; } 28 | --------------------- 29 | | | 30 | | in this macro invocation 31 | in this expansion of `ping!` 32 33error: expected one of `!`, `.`, `::`, `;`, `?`, `{`, `}`, or an operator, found `error` 34 --> $DIR/main.rs:10:20 35 | 36LL | / macro_rules! pong { 37LL | | () => { syntax error }; 38 | | ^^^^^ expected one of 8 possible tokens 39LL | | } 40 | |_- in this expansion of `pong!` (#5) 41... 42LL | deep!(); 43 | -------- in this macro invocation (#1) 44 | 45 ::: <::ping::deep macros>:1:1 46 | 47LL | () => { foo ! () ; } 48 | -------------------- 49 | | | 50 | | in this macro invocation (#2) 51 | in this expansion of `deep!` (#1) 52 | 53 ::: <::ping::foo macros>:1:1 54 | 55LL | () => { bar ! () ; } 56 | -------------------- 57 | | | 58 | | in this macro invocation (#3) 59 | in this expansion of `foo!` (#2) 60 | 61 ::: <::ping::bar macros>:1:1 62 | 63LL | () => { ping ! () ; } 64 | --------------------- 65 | | | 66 | | in this macro invocation (#4) 67 | in this expansion of `bar!` (#3) 68 | 69 ::: <::ping::ping macros>:1:1 70 | 71LL | () => { pong ! () ; } 72 | --------------------- 73 | | | 74 | | in this macro invocation (#5) 75 | in this expansion of `ping!` (#4) 76 77error: aborting due to 3 previous errors 78