]> git.lizzy.rs Git - rust.git/blob - src/test/ui/proc-macro/parent-source-spans.stderr
normalize stderr
[rust.git] / src / test / 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    |
148   ::: $SRC_DIR/core/src/result.rs:LL:COL
149    |
150 LL |     Ok(#[stable(feature = "rust1", since = "1.0.0")] T),
151    |     -- similarly named tuple variant `Ok` defined here
152    |
153    = 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)
154
155 error[E0425]: cannot find value `ok` in this scope
156   --> $DIR/parent-source-spans.rs:29:5
157    |
158 LL |     parent_source_spans!($($tokens)*);
159    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a tuple variant with a similar name exists: `Ok`
160 ...
161 LL |     two!("yay", "rust");
162    |     ------------------- in this macro invocation
163    |
164   ::: $SRC_DIR/core/src/result.rs:LL:COL
165    |
166 LL |     Ok(#[stable(feature = "rust1", since = "1.0.0")] T),
167    |     -- similarly named tuple variant `Ok` defined here
168    |
169    = 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)
170
171 error[E0425]: cannot find value `ok` in this scope
172   --> $DIR/parent-source-spans.rs:29:5
173    |
174 LL |     parent_source_spans!($($tokens)*);
175    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a tuple variant with a similar name exists: `Ok`
176 ...
177 LL |     three!("hip", "hop");
178    |     -------------------- in this macro invocation
179    |
180   ::: $SRC_DIR/core/src/result.rs:LL:COL
181    |
182 LL |     Ok(#[stable(feature = "rust1", since = "1.0.0")] T),
183    |     -- similarly named tuple variant `Ok` defined here
184    |
185    = 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)
186
187 error: aborting due to 21 previous errors
188
189 For more information about this error, try `rustc --explain E0425`.