@@ -38,94 +38,94 @@ LL | #[generate_mod::check_attr]
3838 OuterAttr
3939 = note: this error originates in the attribute macro `generate_mod::check_attr` (in Nightly builds, run with -Z macro-backtrace for more info)
4040
41- warning : cannot find type `FromOutside` in this scope
41+ error : cannot find type `FromOutside` in this scope
4242 --> $DIR/generate-mod.rs:16:10
4343 |
4444LL | #[derive(generate_mod::CheckDerive)]
4545 | ^^^^^^^^^^^^^^^^^^^^^^^^^ names from parent modules are not accessible without an explicit import
4646 |
47- = note: `#[warn (proc_macro_derive_resolution_fallback)]` on by default
47+ = note: `#[deny (proc_macro_derive_resolution_fallback)]` on by default
4848 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
4949 = note: for more information, see issue #83583 <https://github.com/rust-lang/rust/issues/83583>
50- = note: this warning originates in the derive macro `generate_mod::CheckDerive` (in Nightly builds, run with -Z macro-backtrace for more info)
50+ = note: this error originates in the derive macro `generate_mod::CheckDerive` (in Nightly builds, run with -Z macro-backtrace for more info)
5151
52- warning : cannot find type `OuterDerive` in this scope
52+ error : cannot find type `OuterDerive` in this scope
5353 --> $DIR/generate-mod.rs:16:10
5454 |
5555LL | #[derive(generate_mod::CheckDerive)]
5656 | ^^^^^^^^^^^^^^^^^^^^^^^^^ names from parent modules are not accessible without an explicit import
5757 |
5858 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
5959 = note: for more information, see issue #83583 <https://github.com/rust-lang/rust/issues/83583>
60- = note: this warning originates in the derive macro `generate_mod::CheckDerive` (in Nightly builds, run with -Z macro-backtrace for more info)
60+ = note: this error originates in the derive macro `generate_mod::CheckDerive` (in Nightly builds, run with -Z macro-backtrace for more info)
6161
62- warning : cannot find type `FromOutside` in this scope
62+ error : cannot find type `FromOutside` in this scope
6363 --> $DIR/generate-mod.rs:23:14
6464 |
6565LL | #[derive(generate_mod::CheckDerive)]
6666 | ^^^^^^^^^^^^^^^^^^^^^^^^^ names from parent modules are not accessible without an explicit import
6767 |
6868 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
6969 = note: for more information, see issue #83583 <https://github.com/rust-lang/rust/issues/83583>
70- = note: this warning originates in the derive macro `generate_mod::CheckDerive` (in Nightly builds, run with -Z macro-backtrace for more info)
70+ = note: this error originates in the derive macro `generate_mod::CheckDerive` (in Nightly builds, run with -Z macro-backtrace for more info)
7171
72- warning : cannot find type `OuterDerive` in this scope
72+ error : cannot find type `OuterDerive` in this scope
7373 --> $DIR/generate-mod.rs:23:14
7474 |
7575LL | #[derive(generate_mod::CheckDerive)]
7676 | ^^^^^^^^^^^^^^^^^^^^^^^^^ names from parent modules are not accessible without an explicit import
7777 |
7878 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
7979 = note: for more information, see issue #83583 <https://github.com/rust-lang/rust/issues/83583>
80- = note: this warning originates in the derive macro `generate_mod::CheckDerive` (in Nightly builds, run with -Z macro-backtrace for more info)
80+ = note: this error originates in the derive macro `generate_mod::CheckDerive` (in Nightly builds, run with -Z macro-backtrace for more info)
8181
82- error: aborting due to 4 previous errors; 4 warnings emitted
82+ error: aborting due to 8 previous errors
8383
8484For more information about this error, try `rustc --explain E0412`.
8585Future incompatibility report: Future breakage diagnostic:
86- warning : cannot find type `FromOutside` in this scope
86+ error : cannot find type `FromOutside` in this scope
8787 --> $DIR/generate-mod.rs:16:10
8888 |
8989LL | #[derive(generate_mod::CheckDerive)]
9090 | ^^^^^^^^^^^^^^^^^^^^^^^^^ names from parent modules are not accessible without an explicit import
9191 |
92- = note: `#[warn (proc_macro_derive_resolution_fallback)]` on by default
92+ = note: `#[deny (proc_macro_derive_resolution_fallback)]` on by default
9393 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
9494 = note: for more information, see issue #83583 <https://github.com/rust-lang/rust/issues/83583>
95- = note: this warning originates in the derive macro `generate_mod::CheckDerive` (in Nightly builds, run with -Z macro-backtrace for more info)
95+ = note: this error originates in the derive macro `generate_mod::CheckDerive` (in Nightly builds, run with -Z macro-backtrace for more info)
9696
9797Future breakage diagnostic:
98- warning : cannot find type `OuterDerive` in this scope
98+ error : cannot find type `OuterDerive` in this scope
9999 --> $DIR/generate-mod.rs:16:10
100100 |
101101LL | #[derive(generate_mod::CheckDerive)]
102102 | ^^^^^^^^^^^^^^^^^^^^^^^^^ names from parent modules are not accessible without an explicit import
103103 |
104104 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
105105 = note: for more information, see issue #83583 <https://github.com/rust-lang/rust/issues/83583>
106- = note: this warning originates in the derive macro `generate_mod::CheckDerive` (in Nightly builds, run with -Z macro-backtrace for more info)
106+ = note: this error originates in the derive macro `generate_mod::CheckDerive` (in Nightly builds, run with -Z macro-backtrace for more info)
107107
108108Future breakage diagnostic:
109- warning : cannot find type `FromOutside` in this scope
109+ error : cannot find type `FromOutside` in this scope
110110 --> $DIR/generate-mod.rs:23:14
111111 |
112112LL | #[derive(generate_mod::CheckDerive)]
113113 | ^^^^^^^^^^^^^^^^^^^^^^^^^ names from parent modules are not accessible without an explicit import
114114 |
115115 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
116116 = note: for more information, see issue #83583 <https://github.com/rust-lang/rust/issues/83583>
117- = note: this warning originates in the derive macro `generate_mod::CheckDerive` (in Nightly builds, run with -Z macro-backtrace for more info)
117+ = note: this error originates in the derive macro `generate_mod::CheckDerive` (in Nightly builds, run with -Z macro-backtrace for more info)
118118
119119Future breakage diagnostic:
120- warning : cannot find type `OuterDerive` in this scope
120+ error : cannot find type `OuterDerive` in this scope
121121 --> $DIR/generate-mod.rs:23:14
122122 |
123123LL | #[derive(generate_mod::CheckDerive)]
124124 | ^^^^^^^^^^^^^^^^^^^^^^^^^ names from parent modules are not accessible without an explicit import
125125 |
126126 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
127127 = note: for more information, see issue #83583 <https://github.com/rust-lang/rust/issues/83583>
128- = note: this warning originates in the derive macro `generate_mod::CheckDerive` (in Nightly builds, run with -Z macro-backtrace for more info)
128+ = note: this error originates in the derive macro `generate_mod::CheckDerive` (in Nightly builds, run with -Z macro-backtrace for more info)
129129
130130Future breakage diagnostic:
131131warning: cannot find type `FromOutside` in this scope
0 commit comments