@@ -126,7 +126,7 @@ LL | #![doc = in_block!()]
126126 |
127127 = help: have you added the `#[macro_use]` on the module/import?
128128
129- warning : cannot find macro `in_root` in the current scope when looking from the crate root
129+ error : cannot find macro `in_root` in the current scope when looking from the crate root
130130 --> $DIR/key-value-expansion-scope.rs:1:10
131131 |
132132LL | #![doc = in_root!()]
@@ -135,9 +135,9 @@ LL | #![doc = in_root!()]
135135 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
136136 = note: for more information, see issue #124535 <https://github.com/rust-lang/rust/issues/124535>
137137 = help: import `macro_rules` with `use` to make it callable above its definition
138- = note: `#[warn (out_of_scope_macro_calls)]` on by default
138+ = note: `#[deny (out_of_scope_macro_calls)]` on by default
139139
140- warning : cannot find macro `in_mod_escape` in the current scope when looking from the crate root
140+ error : cannot find macro `in_mod_escape` in the current scope when looking from the crate root
141141 --> $DIR/key-value-expansion-scope.rs:4:10
142142 |
143143LL | #![doc = in_mod_escape!()]
@@ -147,7 +147,7 @@ LL | #![doc = in_mod_escape!()]
147147 = note: for more information, see issue #124535 <https://github.com/rust-lang/rust/issues/124535>
148148 = help: import `macro_rules` with `use` to make it callable above its definition
149149
150- warning : cannot find macro `in_mod` in the current scope when looking from module `macros_stay`
150+ error : cannot find macro `in_mod` in the current scope when looking from module `macros_stay`
151151 --> $DIR/key-value-expansion-scope.rs:21:9
152152 |
153153LL | #[doc = in_mod!()]
@@ -157,7 +157,7 @@ LL | #[doc = in_mod!()]
157157 = note: for more information, see issue #124535 <https://github.com/rust-lang/rust/issues/124535>
158158 = help: import `macro_rules` with `use` to make it callable above its definition
159159
160- warning : cannot find macro `in_mod` in the current scope when looking from module `macros_stay`
160+ error : cannot find macro `in_mod` in the current scope when looking from module `macros_stay`
161161 --> $DIR/key-value-expansion-scope.rs:24:14
162162 |
163163LL | #![doc = in_mod!()]
@@ -167,7 +167,7 @@ LL | #![doc = in_mod!()]
167167 = note: for more information, see issue #124535 <https://github.com/rust-lang/rust/issues/124535>
168168 = help: import `macro_rules` with `use` to make it callable above its definition
169169
170- warning : cannot find macro `in_mod_escape` in the current scope when looking from module `macros_escape`
170+ error : cannot find macro `in_mod_escape` in the current scope when looking from module `macros_escape`
171171 --> $DIR/key-value-expansion-scope.rs:36:9
172172 |
173173LL | #[doc = in_mod_escape!()]
@@ -177,7 +177,7 @@ LL | #[doc = in_mod_escape!()]
177177 = note: for more information, see issue #124535 <https://github.com/rust-lang/rust/issues/124535>
178178 = help: import `macro_rules` with `use` to make it callable above its definition
179179
180- warning : cannot find macro `in_mod_escape` in the current scope when looking from module `macros_escape`
180+ error : cannot find macro `in_mod_escape` in the current scope when looking from module `macros_escape`
181181 --> $DIR/key-value-expansion-scope.rs:39:14
182182 |
183183LL | #![doc = in_mod_escape!()]
@@ -187,5 +187,77 @@ LL | #![doc = in_mod_escape!()]
187187 = note: for more information, see issue #124535 <https://github.com/rust-lang/rust/issues/124535>
188188 = help: import `macro_rules` with `use` to make it callable above its definition
189189
190- error: aborting due to 16 previous errors; 6 warnings emitted
190+ error: aborting due to 22 previous errors
191+
192+ Future incompatibility report: Future breakage diagnostic:
193+ error: cannot find macro `in_root` in the current scope when looking from the crate root
194+ --> $DIR/key-value-expansion-scope.rs:1:10
195+ |
196+ LL | #![doc = in_root!()]
197+ | ^^^^^^^ not found from the crate root
198+ |
199+ = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
200+ = note: for more information, see issue #124535 <https://github.com/rust-lang/rust/issues/124535>
201+ = help: import `macro_rules` with `use` to make it callable above its definition
202+ = note: `#[deny(out_of_scope_macro_calls)]` on by default
203+
204+ Future breakage diagnostic:
205+ error: cannot find macro `in_mod_escape` in the current scope when looking from the crate root
206+ --> $DIR/key-value-expansion-scope.rs:4:10
207+ |
208+ LL | #![doc = in_mod_escape!()]
209+ | ^^^^^^^^^^^^^ not found from the crate root
210+ |
211+ = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
212+ = note: for more information, see issue #124535 <https://github.com/rust-lang/rust/issues/124535>
213+ = help: import `macro_rules` with `use` to make it callable above its definition
214+ = note: `#[deny(out_of_scope_macro_calls)]` on by default
215+
216+ Future breakage diagnostic:
217+ error: cannot find macro `in_mod` in the current scope when looking from module `macros_stay`
218+ --> $DIR/key-value-expansion-scope.rs:21:9
219+ |
220+ LL | #[doc = in_mod!()]
221+ | ^^^^^^ not found from module `macros_stay`
222+ |
223+ = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
224+ = note: for more information, see issue #124535 <https://github.com/rust-lang/rust/issues/124535>
225+ = help: import `macro_rules` with `use` to make it callable above its definition
226+ = note: `#[deny(out_of_scope_macro_calls)]` on by default
227+
228+ Future breakage diagnostic:
229+ error: cannot find macro `in_mod` in the current scope when looking from module `macros_stay`
230+ --> $DIR/key-value-expansion-scope.rs:24:14
231+ |
232+ LL | #![doc = in_mod!()]
233+ | ^^^^^^ not found from module `macros_stay`
234+ |
235+ = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
236+ = note: for more information, see issue #124535 <https://github.com/rust-lang/rust/issues/124535>
237+ = help: import `macro_rules` with `use` to make it callable above its definition
238+ = note: `#[deny(out_of_scope_macro_calls)]` on by default
239+
240+ Future breakage diagnostic:
241+ error: cannot find macro `in_mod_escape` in the current scope when looking from module `macros_escape`
242+ --> $DIR/key-value-expansion-scope.rs:36:9
243+ |
244+ LL | #[doc = in_mod_escape!()]
245+ | ^^^^^^^^^^^^^ not found from module `macros_escape`
246+ |
247+ = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
248+ = note: for more information, see issue #124535 <https://github.com/rust-lang/rust/issues/124535>
249+ = help: import `macro_rules` with `use` to make it callable above its definition
250+ = note: `#[deny(out_of_scope_macro_calls)]` on by default
251+
252+ Future breakage diagnostic:
253+ error: cannot find macro `in_mod_escape` in the current scope when looking from module `macros_escape`
254+ --> $DIR/key-value-expansion-scope.rs:39:14
255+ |
256+ LL | #![doc = in_mod_escape!()]
257+ | ^^^^^^^^^^^^^ not found from module `macros_escape`
258+ |
259+ = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
260+ = note: for more information, see issue #124535 <https://github.com/rust-lang/rust/issues/124535>
261+ = help: import `macro_rules` with `use` to make it callable above its definition
262+ = note: `#[deny(out_of_scope_macro_calls)]` on by default
191263
0 commit comments