]> git.lizzy.rs Git - rust.git/blob - tests/ui/macro_backtrace/main.-Zmacro-backtrace.stderr
Don't resolve type var roots in point_at_expr_source_of_inferred_type
[rust.git] / tests / 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    |   ----------------- in this expansion of `ping!` (#1)
29 LL |       () => {
30 LL |           pong!();
31    |           ------- in this macro invocation (#2)
32
33 error: expected one of `!`, `.`, `::`, `;`, `?`, `{`, `}`, or an operator, found `error`
34   --> $DIR/main.rs:10:20
35    |
36 LL | / macro_rules! pong {
37 LL | |     () => { syntax error };
38    | |                    ^^^^^ expected one of 8 possible tokens
39 LL | | }
40    | |_- in this expansion of `pong!` (#5)
41 ...
42 LL |       deep!();
43    |       ------- in this macro invocation (#1)
44    |
45   ::: $DIR/auxiliary/ping.rs:5:1
46    |
47 LL |   macro_rules! ping {
48    |   ----------------- in this expansion of `ping!` (#4)
49 LL |       () => {
50 LL |           pong!();
51    |           ------- in this macro invocation (#5)
52 ...
53 LL |   macro_rules! deep {
54    |   ----------------- in this expansion of `deep!` (#1)
55 LL |       () => {
56 LL |           foo!();
57    |           ------ in this macro invocation (#2)
58 ...
59 LL |   macro_rules! foo {
60    |   ---------------- in this expansion of `foo!` (#2)
61 LL |       () => {
62 LL |           bar!();
63    |           ------ in this macro invocation (#3)
64 ...
65 LL |   macro_rules! bar {
66    |   ---------------- in this expansion of `bar!` (#3)
67 LL |       () => {
68 LL |           ping!();
69    |           ------- in this macro invocation (#4)
70
71 error: aborting due to 3 previous errors
72