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/mixed-site-span.stderr
+15-3Lines changed: 15 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,18 @@ LL | proc_macro_rules!();
6
6
|
7
7
= note: this error originates in the macro `proc_macro_rules` (in Nightly builds, run with -Z macro-backtrace for more info)
8
8
9
+
error[E0412]: cannot find type `ItemUse` in crate `$crate`
10
+
--> $DIR/mixed-site-span.rs:13:9
11
+
|
12
+
LL | proc_macro_rules!();
13
+
| ^^^^^^^^^^^^^^^^^^^ not found in `$crate`
14
+
|
15
+
= note: this error originates in the macro `proc_macro_rules` (in Nightly builds, run with -Z macro-backtrace for more info)
16
+
help: consider importing this struct
17
+
|
18
+
LL + use ItemUse;
19
+
|
20
+
9
21
error[E0425]: cannot find value `local_use` in this scope
10
22
--> $DIR/mixed-site-span.rs:13:9
11
23
|
@@ -15,20 +27,20 @@ LL | proc_macro_rules!();
15
27
= note: this error originates in the macro `proc_macro_rules` (in Nightly builds, run with -Z macro-backtrace for more info)
16
28
17
29
error[E0425]: cannot find value `local_def` in this scope
18
-
--> $DIR/mixed-site-span.rs:17:9
30
+
--> $DIR/mixed-site-span.rs:18:9
19
31
|
20
32
LL | local_def;
21
33
| ^^^^^^^^^ help: a local variable with a similar name exists: `local_use`
22
34
23
35
error[E0412]: cannot find type `ItemUse` in crate `$crate`
24
-
--> $DIR/mixed-site-span.rs:24:1
36
+
--> $DIR/mixed-site-span.rs:25:1
25
37
|
26
38
LL | pass_dollar_crate!();
27
39
| ^^^^^^^^^^^^^^^^^^^^ not found in `$crate`
28
40
|
29
41
= note: this error originates in the macro `proc_macro_rules` which comes from the expansion of the macro `pass_dollar_crate` (in Nightly builds, run with -Z macro-backtrace for more info)
30
42
31
-
error: aborting due to 4 previous errors
43
+
error: aborting due to 5 previous errors
32
44
33
45
Some errors have detailed explanations: E0412, E0425, E0426.
34
46
For more information about an error, try `rustc --explain E0412`.
0 commit comments