1 error[E0412]: cannot find type `FromOutside` in this scope
2 --> $DIR/generate-mod.rs:9:1
4 LL | generate_mod::check!();
5 | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
7 = note: consider importing this struct:
9 = note: this error originates in the macro `generate_mod::check` (in Nightly builds, run with -Z macro-backtrace for more info)
11 error[E0412]: cannot find type `Outer` in this scope
12 --> $DIR/generate-mod.rs:9:1
14 LL | generate_mod::check!();
15 | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
17 = note: consider importing this struct:
19 = note: this error originates in the macro `generate_mod::check` (in Nightly builds, run with -Z macro-backtrace for more info)
21 error[E0412]: cannot find type `FromOutside` in this scope
22 --> $DIR/generate-mod.rs:12:1
24 LL | #[generate_mod::check_attr]
25 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
27 = note: consider importing this struct:
29 = note: this error originates in the attribute macro `generate_mod::check_attr` (in Nightly builds, run with -Z macro-backtrace for more info)
31 error[E0412]: cannot find type `OuterAttr` in this scope
32 --> $DIR/generate-mod.rs:12:1
34 LL | #[generate_mod::check_attr]
35 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
37 = note: consider importing this struct:
39 = note: this error originates in the attribute macro `generate_mod::check_attr` (in Nightly builds, run with -Z macro-backtrace for more info)
41 error: cannot find type `FromOutside` in this scope
42 --> $DIR/generate-mod.rs:16:10
44 LL | #[derive(generate_mod::CheckDerive)]
45 | ^^^^^^^^^^^^^^^^^^^^^^^^^ names from parent modules are not accessible without an explicit import
47 = note: `#[deny(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 #83583 <https://github.com/rust-lang/rust/issues/83583>
50 = note: this error originates in the derive macro `generate_mod::CheckDerive` (in Nightly builds, run with -Z macro-backtrace for more info)
52 error: cannot find type `OuterDerive` in this scope
53 --> $DIR/generate-mod.rs:16:10
55 LL | #[derive(generate_mod::CheckDerive)]
56 | ^^^^^^^^^^^^^^^^^^^^^^^^^ names from parent modules are not accessible without an explicit import
58 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
59 = note: for more information, see issue #83583 <https://github.com/rust-lang/rust/issues/83583>
60 = note: this error originates in the derive macro `generate_mod::CheckDerive` (in Nightly builds, run with -Z macro-backtrace for more info)
62 error: cannot find type `FromOutside` in this scope
63 --> $DIR/generate-mod.rs:23:14
65 LL | #[derive(generate_mod::CheckDerive)]
66 | ^^^^^^^^^^^^^^^^^^^^^^^^^ names from parent modules are not accessible without an explicit import
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 #83583 <https://github.com/rust-lang/rust/issues/83583>
70 = note: this error originates in the derive macro `generate_mod::CheckDerive` (in Nightly builds, run with -Z macro-backtrace for more info)
72 error: cannot find type `OuterDerive` in this scope
73 --> $DIR/generate-mod.rs:23:14
75 LL | #[derive(generate_mod::CheckDerive)]
76 | ^^^^^^^^^^^^^^^^^^^^^^^^^ names from parent modules are not accessible without an explicit import
78 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
79 = note: for more information, see issue #83583 <https://github.com/rust-lang/rust/issues/83583>
80 = note: this error originates in the derive macro `generate_mod::CheckDerive` (in Nightly builds, run with -Z macro-backtrace for more info)
82 error: aborting due to 8 previous errors
84 For more information about this error, try `rustc --explain E0412`.
85 Future incompatibility report: Future breakage diagnostic:
86 error: cannot find type `FromOutside` in this scope
87 --> $DIR/generate-mod.rs:16:10
89 LL | #[derive(generate_mod::CheckDerive)]
90 | ^^^^^^^^^^^^^^^^^^^^^^^^^ names from parent modules are not accessible without an explicit import
92 = note: `#[deny(proc_macro_derive_resolution_fallback)]` on by default
93 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
94 = note: for more information, see issue #83583 <https://github.com/rust-lang/rust/issues/83583>
95 = note: this error originates in the derive macro `generate_mod::CheckDerive` (in Nightly builds, run with -Z macro-backtrace for more info)
97 Future breakage diagnostic:
98 error: cannot find type `OuterDerive` in this scope
99 --> $DIR/generate-mod.rs:16:10
101 LL | #[derive(generate_mod::CheckDerive)]
102 | ^^^^^^^^^^^^^^^^^^^^^^^^^ names from parent modules are not accessible without an explicit import
104 = note: `#[deny(proc_macro_derive_resolution_fallback)]` on by default
105 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
106 = note: for more information, see issue #83583 <https://github.com/rust-lang/rust/issues/83583>
107 = note: this error originates in the derive macro `generate_mod::CheckDerive` (in Nightly builds, run with -Z macro-backtrace for more info)
109 Future breakage diagnostic:
110 error: cannot find type `FromOutside` in this scope
111 --> $DIR/generate-mod.rs:23:14
113 LL | #[derive(generate_mod::CheckDerive)]
114 | ^^^^^^^^^^^^^^^^^^^^^^^^^ names from parent modules are not accessible without an explicit import
116 = note: `#[deny(proc_macro_derive_resolution_fallback)]` on by default
117 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
118 = note: for more information, see issue #83583 <https://github.com/rust-lang/rust/issues/83583>
119 = note: this error originates in the derive macro `generate_mod::CheckDerive` (in Nightly builds, run with -Z macro-backtrace for more info)
121 Future breakage diagnostic:
122 error: cannot find type `OuterDerive` in this scope
123 --> $DIR/generate-mod.rs:23:14
125 LL | #[derive(generate_mod::CheckDerive)]
126 | ^^^^^^^^^^^^^^^^^^^^^^^^^ names from parent modules are not accessible without an explicit import
128 = note: `#[deny(proc_macro_derive_resolution_fallback)]` on by default
129 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
130 = note: for more information, see issue #83583 <https://github.com/rust-lang/rust/issues/83583>
131 = note: this error originates in the derive macro `generate_mod::CheckDerive` (in Nightly builds, run with -Z macro-backtrace for more info)
133 Future breakage diagnostic:
134 warning: cannot find type `FromOutside` in this scope
135 --> $DIR/generate-mod.rs:30:10
137 LL | #[derive(generate_mod::CheckDeriveLint)] // OK, lint is suppressed
138 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ names from parent modules are not accessible without an explicit import
140 note: the lint level is defined here
141 --> $DIR/generate-mod.rs:30:10
143 LL | #[derive(generate_mod::CheckDeriveLint)] // OK, lint is suppressed
144 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
145 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
146 = note: for more information, see issue #83583 <https://github.com/rust-lang/rust/issues/83583>
147 = note: this warning originates in the derive macro `generate_mod::CheckDeriveLint` (in Nightly builds, run with -Z macro-backtrace for more info)
149 Future breakage diagnostic:
150 warning: cannot find type `OuterDeriveLint` in this scope
151 --> $DIR/generate-mod.rs:30:10
153 LL | #[derive(generate_mod::CheckDeriveLint)] // OK, lint is suppressed
154 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ names from parent modules are not accessible without an explicit import
156 note: the lint level is defined here
157 --> $DIR/generate-mod.rs:30:10
159 LL | #[derive(generate_mod::CheckDeriveLint)] // OK, lint is suppressed
160 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
161 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
162 = note: for more information, see issue #83583 <https://github.com/rust-lang/rust/issues/83583>
163 = note: this warning originates in the derive macro `generate_mod::CheckDeriveLint` (in Nightly builds, run with -Z macro-backtrace for more info)