fork/rust

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

borsAuto merge of #72883 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum49cae55760d

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