fork/rust

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

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
2.1 KiB72 linesraw
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!` (#2)
21...
22LL |       ping!();
23   |       ------- in this macro invocation (#1)
24   |
25  ::: $DIR/auxiliary/ping.rs:5:1
26   |
27LL |   macro_rules! ping {
28   |   ----------------- in this expansion of `ping!` (#1)
29LL |       () => {
30LL |           pong!();
31   |           ------- in this macro invocation (#2)
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  ::: $DIR/auxiliary/ping.rs:5:1
46   |
47LL |   macro_rules! ping {
48   |   ----------------- in this expansion of `ping!` (#4)
49LL |       () => {
50LL |           pong!();
51   |           ------- in this macro invocation (#5)
52...
53LL |   macro_rules! deep {
54   |   ----------------- in this expansion of `deep!` (#1)
55LL |       () => {
56LL |           foo!();
57   |           ------ in this macro invocation (#2)
58...
59LL |   macro_rules! foo {
60   |   ---------------- in this expansion of `foo!` (#2)
61LL |       () => {
62LL |           bar!();
63   |           ------ in this macro invocation (#3)
64...
65LL |   macro_rules! bar {
66   |   ---------------- in this expansion of `bar!` (#3)
67LL |       () => {
68LL |           ping!();
69   |           ------- in this macro invocation (#4)
70
71error: aborting due to 3 previous errors
72