fork/rust

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

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
5.5 KiB183 linesraw
1error: first final: "hello"
2  --> $DIR/parent-source-spans.rs:16:12
3   |
4LL |     three!($a, $b);
5   |            ^^
6...
7LL |     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
12error: second final: "world"
13  --> $DIR/parent-source-spans.rs:16:16
14   |
15LL |     three!($a, $b);
16   |                ^^
17...
18LL |     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
23error: first parent: "hello"
24  --> $DIR/parent-source-spans.rs:10:5
25   |
26LL |     two!($a, $b);
27   |     ^^^^^^^^^^^^
28...
29LL |     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
34error: second parent: "world"
35  --> $DIR/parent-source-spans.rs:10:5
36   |
37LL |     two!($a, $b);
38   |     ^^^^^^^^^^^^
39...
40LL |     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
45error: first grandparent: "hello"
46  --> $DIR/parent-source-spans.rs:36:5
47   |
48LL |     one!("hello", "world");
49   |     ^^^^^^^^^^^^^^^^^^^^^^
50
51error: second grandparent: "world"
52  --> $DIR/parent-source-spans.rs:36:5
53   |
54LL |     one!("hello", "world");
55   |     ^^^^^^^^^^^^^^^^^^^^^^
56
57error: first source: "hello"
58  --> $DIR/parent-source-spans.rs:36:5
59   |
60LL |     one!("hello", "world");
61   |     ^^^^^^^^^^^^^^^^^^^^^^
62
63error: second source: "world"
64  --> $DIR/parent-source-spans.rs:36:5
65   |
66LL |     one!("hello", "world");
67   |     ^^^^^^^^^^^^^^^^^^^^^^
68
69error: first final: "yay"
70  --> $DIR/parent-source-spans.rs:16:12
71   |
72LL |     three!($a, $b);
73   |            ^^
74...
75LL |     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
80error: second final: "rust"
81  --> $DIR/parent-source-spans.rs:16:16
82   |
83LL |     three!($a, $b);
84   |                ^^
85...
86LL |     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
91error: first parent: "yay"
92  --> $DIR/parent-source-spans.rs:42:5
93   |
94LL |     two!("yay", "rust");
95   |     ^^^^^^^^^^^^^^^^^^^
96
97error: second parent: "rust"
98  --> $DIR/parent-source-spans.rs:42:5
99   |
100LL |     two!("yay", "rust");
101   |     ^^^^^^^^^^^^^^^^^^^
102
103error: first source: "yay"
104  --> $DIR/parent-source-spans.rs:42:5
105   |
106LL |     two!("yay", "rust");
107   |     ^^^^^^^^^^^^^^^^^^^
108
109error: second source: "rust"
110  --> $DIR/parent-source-spans.rs:42:5
111   |
112LL |     two!("yay", "rust");
113   |     ^^^^^^^^^^^^^^^^^^^
114
115error: first final: "hip"
116  --> $DIR/parent-source-spans.rs:48:12
117   |
118LL |     three!("hip", "hop");
119   |            ^^^^^
120
121error: second final: "hop"
122  --> $DIR/parent-source-spans.rs:48:19
123   |
124LL |     three!("hip", "hop");
125   |                   ^^^^^
126
127error: first source: "hip"
128  --> $DIR/parent-source-spans.rs:48:12
129   |
130LL |     three!("hip", "hop");
131   |            ^^^^^
132
133error: second source: "hop"
134  --> $DIR/parent-source-spans.rs:48:19
135   |
136LL |     three!("hip", "hop");
137   |                   ^^^^^
138
139error[E0425]: cannot find value `ok` in this scope
140  --> $DIR/parent-source-spans.rs:29: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  --> $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
153error[E0425]: cannot find value `ok` in this scope
154  --> $DIR/parent-source-spans.rs:29:5
155   |
156LL |     parent_source_spans!($($tokens)*);
157   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a tuple variant with a similar name exists: `Ok`
158...
159LL |     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
167error[E0425]: cannot find value `ok` in this scope
168  --> $DIR/parent-source-spans.rs:29:5
169   |
170LL |     parent_source_spans!($($tokens)*);
171   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a tuple variant with a similar name exists: `Ok`
172...
173LL |     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
181error: aborting due to 21 previous errors
182
183For more information about this error, try `rustc --explain E0425`.