fork/rust

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

borsAuto merge of #66089 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4560ea788cb

1.39.0
3.9 KiB156 linesraw
1error: first final: "hello"
2  --> $DIR/parent-source-spans.rs:17:12
3   |
4LL |     three!($a, $b);
5   |            ^^
6...
7LL |     one!("hello", "world");
8   |     ----------------------- in this macro invocation
9
10error: second final: "world"
11  --> $DIR/parent-source-spans.rs:17:16
12   |
13LL |     three!($a, $b);
14   |                ^^
15...
16LL |     one!("hello", "world");
17   |     ----------------------- in this macro invocation
18
19error: first parent: "hello"
20  --> $DIR/parent-source-spans.rs:11:5
21   |
22LL |     two!($a, $b);
23   |     ^^^^^^^^^^^^^
24...
25LL |     one!("hello", "world");
26   |     ----------------------- in this macro invocation
27
28error: second parent: "world"
29  --> $DIR/parent-source-spans.rs:11:5
30   |
31LL |     two!($a, $b);
32   |     ^^^^^^^^^^^^^
33...
34LL |     one!("hello", "world");
35   |     ----------------------- in this macro invocation
36
37error: first grandparent: "hello"
38  --> $DIR/parent-source-spans.rs:37:5
39   |
40LL |     one!("hello", "world");
41   |     ^^^^^^^^^^^^^^^^^^^^^^^
42
43error: second grandparent: "world"
44  --> $DIR/parent-source-spans.rs:37:5
45   |
46LL |     one!("hello", "world");
47   |     ^^^^^^^^^^^^^^^^^^^^^^^
48
49error: first source: "hello"
50  --> $DIR/parent-source-spans.rs:37:5
51   |
52LL |     one!("hello", "world");
53   |     ^^^^^^^^^^^^^^^^^^^^^^^
54
55error: second source: "world"
56  --> $DIR/parent-source-spans.rs:37:5
57   |
58LL |     one!("hello", "world");
59   |     ^^^^^^^^^^^^^^^^^^^^^^^
60
61error: first final: "yay"
62  --> $DIR/parent-source-spans.rs:17:12
63   |
64LL |     three!($a, $b);
65   |            ^^
66...
67LL |     two!("yay", "rust");
68   |     -------------------- in this macro invocation
69
70error: second final: "rust"
71  --> $DIR/parent-source-spans.rs:17:16
72   |
73LL |     three!($a, $b);
74   |                ^^
75...
76LL |     two!("yay", "rust");
77   |     -------------------- in this macro invocation
78
79error: first parent: "yay"
80  --> $DIR/parent-source-spans.rs:43:5
81   |
82LL |     two!("yay", "rust");
83   |     ^^^^^^^^^^^^^^^^^^^^
84
85error: second parent: "rust"
86  --> $DIR/parent-source-spans.rs:43:5
87   |
88LL |     two!("yay", "rust");
89   |     ^^^^^^^^^^^^^^^^^^^^
90
91error: first source: "yay"
92  --> $DIR/parent-source-spans.rs:43:5
93   |
94LL |     two!("yay", "rust");
95   |     ^^^^^^^^^^^^^^^^^^^^
96
97error: second source: "rust"
98  --> $DIR/parent-source-spans.rs:43:5
99   |
100LL |     two!("yay", "rust");
101   |     ^^^^^^^^^^^^^^^^^^^^
102
103error: first final: "hip"
104  --> $DIR/parent-source-spans.rs:49:12
105   |
106LL |     three!("hip", "hop");
107   |            ^^^^^
108
109error: second final: "hop"
110  --> $DIR/parent-source-spans.rs:49:19
111   |
112LL |     three!("hip", "hop");
113   |                   ^^^^^
114
115error: first source: "hip"
116  --> $DIR/parent-source-spans.rs:49:12
117   |
118LL |     three!("hip", "hop");
119   |            ^^^^^
120
121error: second source: "hop"
122  --> $DIR/parent-source-spans.rs:49:19
123   |
124LL |     three!("hip", "hop");
125   |                   ^^^^^
126
127error[E0425]: cannot find value `ok` in this scope
128  --> $DIR/parent-source-spans.rs:30:5
129   |
130LL |     parent_source_spans!($($tokens)*);
131   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a tuple variant with a similar name exists: `Ok`
132...
133LL |     one!("hello", "world");
134   |     ----------------------- in this macro invocation
135
136error[E0425]: cannot find value `ok` in this scope
137  --> $DIR/parent-source-spans.rs:30:5
138   |
139LL |     parent_source_spans!($($tokens)*);
140   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a tuple variant with a similar name exists: `Ok`
141...
142LL |     two!("yay", "rust");
143   |     -------------------- in this macro invocation
144
145error[E0425]: cannot find value `ok` in this scope
146  --> $DIR/parent-source-spans.rs:30:5
147   |
148LL |     parent_source_spans!($($tokens)*);
149   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a tuple variant with a similar name exists: `Ok`
150...
151LL |     three!("hip", "hop");
152   |     --------------------- in this macro invocation
153
154error: aborting due to 21 previous errors
155
156For more information about this error, try `rustc --explain E0425`.