fork/rust

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

borsAuto merge of #69854 - pietroalbini:stable-next, r=Centrilb8cedc00407

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