fork/rust

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

borsAuto merge of #71868 - Mark-Simulacrum:stable-1.43.1, r=pietroalbini8d69840ab92

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