]> git.lizzy.rs Git - rust.git/blob - tests/ui/proc-macro/parent-source-spans.stderr
Auto merge of #106503 - cjgillot:remap-nofilter, r=oli-obk
[rust.git] / tests / ui / proc-macro / parent-source-spans.stderr
1 error: first final: "hello"
2   --> $DIR/parent-source-spans.rs:16:12
3    |
4 LL |     three!($a, $b);
5    |            ^^
6 ...
7 LL |     one!("hello", "world");
8    |     ---------------------- in this macro invocation
9    |
10    = note: this error originates in the macro `two` which comes from the expansion of the macro `one` (in Nightly builds, run with -Z macro-backtrace for more info)
11
12 error: second final: "world"
13   --> $DIR/parent-source-spans.rs:16:16
14    |
15 LL |     three!($a, $b);
16    |                ^^
17 ...
18 LL |     one!("hello", "world");
19    |     ---------------------- in this macro invocation
20    |
21    = note: this error originates in the macro `two` which comes from the expansion of the macro `one` (in Nightly builds, run with -Z macro-backtrace for more info)
22
23 error: first parent: "hello"
24   --> $DIR/parent-source-spans.rs:10:5
25    |
26 LL |     two!($a, $b);
27    |     ^^^^^^^^^^^^
28 ...
29 LL |     one!("hello", "world");
30    |     ---------------------- in this macro invocation
31    |
32    = note: this error originates in the macro `one` (in Nightly builds, run with -Z macro-backtrace for more info)
33
34 error: second parent: "world"
35   --> $DIR/parent-source-spans.rs:10:5
36    |
37 LL |     two!($a, $b);
38    |     ^^^^^^^^^^^^
39 ...
40 LL |     one!("hello", "world");
41    |     ---------------------- in this macro invocation
42    |
43    = note: this error originates in the macro `one` (in Nightly builds, run with -Z macro-backtrace for more info)
44
45 error: first grandparent: "hello"
46   --> $DIR/parent-source-spans.rs:36:5
47    |
48 LL |     one!("hello", "world");
49    |     ^^^^^^^^^^^^^^^^^^^^^^
50
51 error: second grandparent: "world"
52   --> $DIR/parent-source-spans.rs:36:5
53    |
54 LL |     one!("hello", "world");
55    |     ^^^^^^^^^^^^^^^^^^^^^^
56
57 error: first source: "hello"
58   --> $DIR/parent-source-spans.rs:36:5
59    |
60 LL |     one!("hello", "world");
61    |     ^^^^^^^^^^^^^^^^^^^^^^
62
63 error: second source: "world"
64   --> $DIR/parent-source-spans.rs:36:5
65    |
66 LL |     one!("hello", "world");
67    |     ^^^^^^^^^^^^^^^^^^^^^^
68
69 error: first final: "yay"
70   --> $DIR/parent-source-spans.rs:16:12
71    |
72 LL |     three!($a, $b);
73    |            ^^
74 ...
75 LL |     two!("yay", "rust");
76    |     ------------------- in this macro invocation
77    |
78    = note: this error originates in the macro `two` (in Nightly builds, run with -Z macro-backtrace for more info)
79
80 error: second final: "rust"
81   --> $DIR/parent-source-spans.rs:16:16
82    |
83 LL |     three!($a, $b);
84    |                ^^
85 ...
86 LL |     two!("yay", "rust");
87    |     ------------------- in this macro invocation
88    |
89    = note: this error originates in the macro `two` (in Nightly builds, run with -Z macro-backtrace for more info)
90
91 error: first parent: "yay"
92   --> $DIR/parent-source-spans.rs:42:5
93    |
94 LL |     two!("yay", "rust");
95    |     ^^^^^^^^^^^^^^^^^^^
96
97 error: second parent: "rust"
98   --> $DIR/parent-source-spans.rs:42:5
99    |
100 LL |     two!("yay", "rust");
101    |     ^^^^^^^^^^^^^^^^^^^
102
103 error: first source: "yay"
104   --> $DIR/parent-source-spans.rs:42:5
105    |
106 LL |     two!("yay", "rust");
107    |     ^^^^^^^^^^^^^^^^^^^
108
109 error: second source: "rust"
110   --> $DIR/parent-source-spans.rs:42:5
111    |
112 LL |     two!("yay", "rust");
113    |     ^^^^^^^^^^^^^^^^^^^
114
115 error: first final: "hip"
116   --> $DIR/parent-source-spans.rs:48:12
117    |
118 LL |     three!("hip", "hop");
119    |            ^^^^^
120
121 error: second final: "hop"
122   --> $DIR/parent-source-spans.rs:48:19
123    |
124 LL |     three!("hip", "hop");
125    |                   ^^^^^
126
127 error: first source: "hip"
128   --> $DIR/parent-source-spans.rs:48:12
129    |
130 LL |     three!("hip", "hop");
131    |            ^^^^^
132
133 error: second source: "hop"
134   --> $DIR/parent-source-spans.rs:48:19
135    |
136 LL |     three!("hip", "hop");
137    |                   ^^^^^
138
139 error[E0425]: cannot find value `ok` in this scope
140   --> $DIR/parent-source-spans.rs:29:5
141    |
142 LL |     parent_source_spans!($($tokens)*);
143    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a tuple variant with a similar name exists: `Ok`
144 ...
145 LL |     one!("hello", "world");
146    |     ---------------------- in this macro invocation
147   --> $SRC_DIR/core/src/result.rs:LL:COL
148    |
149    = note: similarly named tuple variant `Ok` defined here
150    |
151    = note: this error originates in the macro `parent_source_spans` which comes from the expansion of the macro `one` (in Nightly builds, run with -Z macro-backtrace for more info)
152
153 error[E0425]: cannot find value `ok` in this scope
154   --> $DIR/parent-source-spans.rs:29:5
155    |
156 LL |     parent_source_spans!($($tokens)*);
157    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a tuple variant with a similar name exists: `Ok`
158 ...
159 LL |     two!("yay", "rust");
160    |     ------------------- in this macro invocation
161   --> $SRC_DIR/core/src/result.rs:LL:COL
162    |
163    = note: similarly named tuple variant `Ok` defined here
164    |
165    = note: this error originates in the macro `parent_source_spans` which comes from the expansion of the macro `two` (in Nightly builds, run with -Z macro-backtrace for more info)
166
167 error[E0425]: cannot find value `ok` in this scope
168   --> $DIR/parent-source-spans.rs:29:5
169    |
170 LL |     parent_source_spans!($($tokens)*);
171    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a tuple variant with a similar name exists: `Ok`
172 ...
173 LL |     three!("hip", "hop");
174    |     -------------------- in this macro invocation
175   --> $SRC_DIR/core/src/result.rs:LL:COL
176    |
177    = note: similarly named tuple variant `Ok` defined here
178    |
179    = note: this error originates in the macro `parent_source_spans` which comes from the expansion of the macro `three` (in Nightly builds, run with -Z macro-backtrace for more info)
180
181 error: aborting due to 21 previous errors
182
183 For more information about this error, try `rustc --explain E0425`.