1 error[E0426]: use of undeclared label `'label_use`
2 --> $DIR/mixed-site-span.rs:15:9
4 LL | proc_macro_rules!();
5 | ^^^^^^^^^^^^^^^^^^^^ undeclared label `'label_use`
7 = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
9 error[E0425]: cannot find value `local_use` in this scope
10 --> $DIR/mixed-site-span.rs:15:9
12 LL | proc_macro_rules!();
13 | ^^^^^^^^^^^^^^^^^^^^ not found in this scope
15 = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
17 error[E0425]: cannot find value `local_def` in this scope
18 --> $DIR/mixed-site-span.rs:19:9
21 | ^^^^^^^^^ not found in this scope
23 error[E0412]: cannot find type `ItemUse` in crate `$crate`
24 --> $DIR/auxiliary/mixed-site-span.rs:14:1
26 LL | / pub fn proc_macro_rules(input: TokenStream) -> TokenStream {
27 LL | | if input.is_empty() {
28 LL | | let id = |s| TokenTree::from(Ident::new(s, Span::mixed_site()));
29 LL | | let item_def = id("ItemDef");
33 | |_^ not found in `$crate`
35 ::: $DIR/mixed-site-span.rs:26:1
37 LL | pass_dollar_crate!();
38 | --------------------- in this macro invocation
40 = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
41 help: possible candidate is found in another module, you can import it into scope
46 error: aborting due to 4 previous errors
48 Some errors have detailed explanations: E0412, E0425, E0426.
49 For more information about an error, try `rustc --explain E0412`.