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