fork/rust
git clone https://git.julia.blue/fork/rust
73528e339aa
1.40.0
1error[E0426]: use of undeclared label `'label_use` 2 --> $DIR/mixed-site-span.rs:15:9 3 | 4LL | proc_macro_rules!(); 5 | ^^^^^^^^^^^^^^^^^^^^ 6 | | 7 | undeclared label `'label_use` 8 | in this macro invocation 9 10error[E0425]: cannot find value `local_use` in this scope 11 --> $DIR/mixed-site-span.rs:15:9 12 | 13LL | proc_macro_rules!(); 14 | ^^^^^^^^^^^^^^^^^^^^ 15 | | 16 | not found in this scope 17 | in this macro invocation 18 19error[E0425]: cannot find value `local_def` in this scope 20 --> $DIR/mixed-site-span.rs:19:9 21 | 22LL | local_def; 23 | ^^^^^^^^^ not found in this scope 24 25error[E0412]: cannot find type `ItemUse` in crate `$crate` 26 --> $DIR/auxiliary/mixed-site-span.rs:14:1 27 | 28LL | / pub fn proc_macro_rules(input: TokenStream) -> TokenStream { 29LL | | if input.is_empty() { 30LL | | let id = |s| TokenTree::from(Ident::new(s, Span::mixed_site())); 31LL | | let item_def = id("ItemDef"); 32... | 33LL | | } 34LL | | } 35 | |_^ not found in `$crate` 36 | 37 ::: $DIR/mixed-site-span.rs:26:1 38 | 39LL | pass_dollar_crate!(); 40 | --------------------- in this macro invocation 41 | 42help: possible candidate is found in another module, you can import it into scope 43 | 44LL | use ItemUse; 45 | 46 47error: aborting due to 4 previous errors 48 49Some errors have detailed explanations: E0412, E0425, E0426. 50For more information about an error, try `rustc --explain E0412`.