@@ -38,94 +38,94 @@ LL | #[generate_mod::check_attr]
38
38
OuterAttr
39
39
= note: this error originates in the attribute macro `generate_mod::check_attr` (in Nightly builds, run with -Z macro-backtrace for more info)
40
40
41
- warning : cannot find type `FromOutside` in this scope
41
+ error : cannot find type `FromOutside` in this scope
42
42
--> $DIR/generate-mod.rs:16:10
43
43
|
44
44
LL | #[derive(generate_mod::CheckDerive)]
45
45
| ^^^^^^^^^^^^^^^^^^^^^^^^^ names from parent modules are not accessible without an explicit import
46
46
|
47
- = note: `#[warn (proc_macro_derive_resolution_fallback)]` on by default
47
+ = note: `#[deny (proc_macro_derive_resolution_fallback)]` on by default
48
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
49
= 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)
51
51
52
- warning : cannot find type `OuterDerive` in this scope
52
+ error : cannot find type `OuterDerive` in this scope
53
53
--> $DIR/generate-mod.rs:16:10
54
54
|
55
55
LL | #[derive(generate_mod::CheckDerive)]
56
56
| ^^^^^^^^^^^^^^^^^^^^^^^^^ names from parent modules are not accessible without an explicit import
57
57
|
58
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
59
= 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)
61
61
62
- warning : cannot find type `FromOutside` in this scope
62
+ error : cannot find type `FromOutside` in this scope
63
63
--> $DIR/generate-mod.rs:23:14
64
64
|
65
65
LL | #[derive(generate_mod::CheckDerive)]
66
66
| ^^^^^^^^^^^^^^^^^^^^^^^^^ names from parent modules are not accessible without an explicit import
67
67
|
68
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
69
= 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)
71
71
72
- warning : cannot find type `OuterDerive` in this scope
72
+ error : cannot find type `OuterDerive` in this scope
73
73
--> $DIR/generate-mod.rs:23:14
74
74
|
75
75
LL | #[derive(generate_mod::CheckDerive)]
76
76
| ^^^^^^^^^^^^^^^^^^^^^^^^^ names from parent modules are not accessible without an explicit import
77
77
|
78
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
79
= 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)
81
81
82
- error: aborting due to 4 previous errors; 4 warnings emitted
82
+ error: aborting due to 8 previous errors
83
83
84
84
For more information about this error, try `rustc --explain E0412`.
85
85
Future incompatibility report: Future breakage diagnostic:
86
- warning : cannot find type `FromOutside` in this scope
86
+ error : cannot find type `FromOutside` in this scope
87
87
--> $DIR/generate-mod.rs:16:10
88
88
|
89
89
LL | #[derive(generate_mod::CheckDerive)]
90
90
| ^^^^^^^^^^^^^^^^^^^^^^^^^ names from parent modules are not accessible without an explicit import
91
91
|
92
- = note: `#[warn (proc_macro_derive_resolution_fallback)]` on by default
92
+ = note: `#[deny (proc_macro_derive_resolution_fallback)]` on by default
93
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
94
= 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)
96
96
97
97
Future breakage diagnostic:
98
- warning : cannot find type `OuterDerive` in this scope
98
+ error : cannot find type `OuterDerive` in this scope
99
99
--> $DIR/generate-mod.rs:16:10
100
100
|
101
101
LL | #[derive(generate_mod::CheckDerive)]
102
102
| ^^^^^^^^^^^^^^^^^^^^^^^^^ names from parent modules are not accessible without an explicit import
103
103
|
104
104
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
105
105
= 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)
107
107
108
108
Future breakage diagnostic:
109
- warning : cannot find type `FromOutside` in this scope
109
+ error : cannot find type `FromOutside` in this scope
110
110
--> $DIR/generate-mod.rs:23:14
111
111
|
112
112
LL | #[derive(generate_mod::CheckDerive)]
113
113
| ^^^^^^^^^^^^^^^^^^^^^^^^^ names from parent modules are not accessible without an explicit import
114
114
|
115
115
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
116
116
= 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)
118
118
119
119
Future breakage diagnostic:
120
- warning : cannot find type `OuterDerive` in this scope
120
+ error : cannot find type `OuterDerive` in this scope
121
121
--> $DIR/generate-mod.rs:23:14
122
122
|
123
123
LL | #[derive(generate_mod::CheckDerive)]
124
124
| ^^^^^^^^^^^^^^^^^^^^^^^^^ names from parent modules are not accessible without an explicit import
125
125
|
126
126
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
127
127
= 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)
129
129
130
130
Future breakage diagnostic:
131
131
warning: cannot find type `FromOutside` in this scope
0 commit comments