fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #71365 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4fb7144ed15

1.43.0
1.2 KiB35 linesraw
1error: expected one of `!`, `.`, `::`, `;`, `?`, `{`, `}`, or an operator, found `error`
2  --> $DIR/main.rs:10:20
3   |
4LL |     () => { syntax error };
5   |                    ^^^^^ expected one of 8 possible tokens
6...
7LL |     pong!();
8   |     -------- in this macro invocation
9   |
10   = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
11
12error: expected one of `!`, `.`, `::`, `;`, `?`, `{`, `}`, or an operator, found `error`
13  --> $DIR/main.rs:10:20
14   |
15LL |     () => { syntax error };
16   |                    ^^^^^ expected one of 8 possible tokens
17...
18LL |     ping!();
19   |     -------- in this macro invocation
20   |
21   = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
22
23error: expected one of `!`, `.`, `::`, `;`, `?`, `{`, `}`, or an operator, found `error`
24  --> $DIR/main.rs:10:20
25   |
26LL |     () => { syntax error };
27   |                    ^^^^^ expected one of 8 possible tokens
28...
29LL |     deep!();
30   |     -------- in this macro invocation
31   |
32   = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
33
34error: aborting due to 3 previous errors
35