fork/rust

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

borsAuto merge of #71365 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4fb7144ed15

1.43.0
3.7 KiB80 linesraw
1error[E0412]: cannot find type `FromOutside` in this scope
2  --> $DIR/generate-mod.rs:9:1
3   |
4LL | generate_mod::check!();
5   | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
6   |
7   = note: possible candidate is found in another module, you can import it into scope:
8           FromOutside
9   = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
10
11error[E0412]: cannot find type `Outer` in this scope
12  --> $DIR/generate-mod.rs:9:1
13   |
14LL | generate_mod::check!();
15   | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
16   |
17   = note: possible candidate is found in another module, you can import it into scope:
18           Outer
19   = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
20
21error[E0412]: cannot find type `FromOutside` in this scope
22  --> $DIR/generate-mod.rs:12:1
23   |
24LL | #[generate_mod::check_attr]
25   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
26   |
27   = note: possible candidate is found in another module, you can import it into scope:
28           FromOutside
29   = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info)
30
31error[E0412]: cannot find type `OuterAttr` in this scope
32  --> $DIR/generate-mod.rs:12:1
33   |
34LL | #[generate_mod::check_attr]
35   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
36   |
37   = note: possible candidate is found in another module, you can import it into scope:
38           OuterAttr
39   = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info)
40
41warning: cannot find type `FromOutside` in this scope
42  --> $DIR/generate-mod.rs:16:10
43   |
44LL | #[derive(generate_mod::CheckDerive)]
45   |          ^^^^^^^^^^^^^^^^^^^^^^^^^ names from parent modules are not accessible without an explicit import
46   |
47   = note: `#[warn(proc_macro_derive_resolution_fallback)]` on by default
48   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
49   = note: for more information, see issue #50504 <https://github.com/rust-lang/rust/issues/50504>
50
51warning: cannot find type `OuterDerive` in this scope
52  --> $DIR/generate-mod.rs:16:10
53   |
54LL | #[derive(generate_mod::CheckDerive)]
55   |          ^^^^^^^^^^^^^^^^^^^^^^^^^ names from parent modules are not accessible without an explicit import
56   |
57   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
58   = note: for more information, see issue #50504 <https://github.com/rust-lang/rust/issues/50504>
59
60warning: cannot find type `FromOutside` in this scope
61  --> $DIR/generate-mod.rs:23:14
62   |
63LL |     #[derive(generate_mod::CheckDerive)]
64   |              ^^^^^^^^^^^^^^^^^^^^^^^^^ names from parent modules are not accessible without an explicit import
65   |
66   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
67   = note: for more information, see issue #50504 <https://github.com/rust-lang/rust/issues/50504>
68
69warning: cannot find type `OuterDerive` in this scope
70  --> $DIR/generate-mod.rs:23:14
71   |
72LL |     #[derive(generate_mod::CheckDerive)]
73   |              ^^^^^^^^^^^^^^^^^^^^^^^^^ names from parent modules are not accessible without an explicit import
74   |
75   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
76   = note: for more information, see issue #50504 <https://github.com/rust-lang/rust/issues/50504>
77
78error: aborting due to 4 previous errors
79
80For more information about this error, try `rustc --explain E0412`.