You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tests/ui/proc-macro/parent-source-spans.stderr
+3-12Lines changed: 3 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -140,41 +140,32 @@ error[E0425]: cannot find value `ok` in the expanded code of procedural macro `p
140
140
--> $DIR/parent-source-spans.rs:29:5
141
141
|
142
142
LL | parent_source_spans!($($tokens)*);
143
-
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a tuple variant with a similar name exists: `Ok`
143
+
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `ok` not found in expanded code of this procedural macro
144
144
...
145
145
LL | one!("hello", "world");
146
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
147
|
151
148
= 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
149
153
150
error[E0425]: cannot find value `ok` in the expanded code of procedural macro `parent_source_spans`
154
151
--> $DIR/parent-source-spans.rs:29:5
155
152
|
156
153
LL | parent_source_spans!($($tokens)*);
157
-
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a tuple variant with a similar name exists: `Ok`
154
+
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `ok` not found in expanded code of this procedural macro
158
155
...
159
156
LL | two!("yay", "rust");
160
157
| ------------------- in this macro invocation
161
-
--> $SRC_DIR/core/src/result.rs:LL:COL
162
-
|
163
-
= note: similarly named tuple variant `Ok` defined here
164
158
|
165
159
= 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
160
167
161
error[E0425]: cannot find value `ok` in the expanded code of procedural macro `parent_source_spans`
168
162
--> $DIR/parent-source-spans.rs:29:5
169
163
|
170
164
LL | parent_source_spans!($($tokens)*);
171
-
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a tuple variant with a similar name exists: `Ok`
165
+
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `ok` not found in expanded code of this procedural macro
172
166
...
173
167
LL | three!("hip", "hop");
174
168
| -------------------- in this macro invocation
175
-
--> $SRC_DIR/core/src/result.rs:LL:COL
176
-
|
177
-
= note: similarly named tuple variant `Ok` defined here
178
169
|
179
170
= 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)
0 commit comments