mirror of
https://github.com/rust-lang/rust.git
synced 2025-09-28 21:55:31 +00:00
41 lines
1.9 KiB
Plaintext
41 lines
1.9 KiB
Plaintext
Future incompatibility report: Future breakage diagnostic:
|
|
warning: valid forms for the attribute are `#![macro_export(local_inner_macros)]` and `#![macro_export]`
|
|
--> $DIR/invalid_macro_export_argument.rs:7:1
|
|
|
|
|
LL | #[macro_export(hello, world)]
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
|
= note: for more information, see issue #57571 <https://github.com/rust-lang/rust/issues/57571>
|
|
|
|
Future breakage diagnostic:
|
|
warning: valid forms for the attribute are `#![macro_export(local_inner_macros)]` and `#![macro_export]`
|
|
--> $DIR/invalid_macro_export_argument.rs:14:1
|
|
|
|
|
LL | #[macro_export(not_local_inner_macros)]
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
|
= note: for more information, see issue #57571 <https://github.com/rust-lang/rust/issues/57571>
|
|
|
|
Future breakage diagnostic:
|
|
warning: valid forms for the attribute are `#![macro_export(local_inner_macros)]` and `#![macro_export]`
|
|
--> $DIR/invalid_macro_export_argument.rs:31:1
|
|
|
|
|
LL | #[macro_export()]
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
|
= note: for more information, see issue #57571 <https://github.com/rust-lang/rust/issues/57571>
|
|
|
|
Future breakage diagnostic:
|
|
warning: valid forms for the attribute are `#![macro_export(local_inner_macros)]` and `#![macro_export]`
|
|
--> $DIR/invalid_macro_export_argument.rs:38:1
|
|
|
|
|
LL | #[macro_export("blah")]
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
|
= note: for more information, see issue #57571 <https://github.com/rust-lang/rust/issues/57571>
|
|
|