@@ -23,7 +23,7 @@ LL | #[cfg_attr(predicate, attr1, attr2, ...)]
2323 | ++++++++++++++++++++++++++++++
2424
2525error[E0463]: can't find crate for `wloop`
26- --> $DIR/malformed-attrs.rs:212 :1
26+ --> $DIR/malformed-attrs.rs:214 :1
2727 |
2828LL | extern crate wloop;
2929 | ^^^^^^^^^^^^^^^^^^^ can't find crate
@@ -783,7 +783,7 @@ LL + #[no_link]
783783 |
784784
785785error[E0539]: malformed `macro_use` attribute input
786- --> $DIR/malformed-attrs.rs:210 :3
786+ --> $DIR/malformed-attrs.rs:212 :3
787787 |
788788LL | #[macro_use = 1]
789789 | ^^^^^^^^^^---
@@ -801,7 +801,7 @@ LL + #[macro_use(name1, name2, ...)]
801801 |
802802
803803error[E0539]: malformed `macro_export` attribute input
804- --> $DIR/malformed-attrs.rs:215 :3
804+ --> $DIR/malformed-attrs.rs:217 :3
805805 |
806806LL | #[macro_export = 18]
807807 | ^^^^^^^^^^^^^----
@@ -818,7 +818,7 @@ LL + #[macro_export(local_inner_macros)]
818818 |
819819
820820error[E0658]: the `allow_internal_unsafe` attribute side-steps the `unsafe_code` lint
821- --> $DIR/malformed-attrs.rs:217 :3
821+ --> $DIR/malformed-attrs.rs:219 :3
822822 |
823823LL | #[allow_internal_unsafe = 1]
824824 | ^^^^^^^^^^^^^^^^^^^^^
@@ -827,7 +827,7 @@ LL | #[allow_internal_unsafe = 1]
827827 = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
828828
829829error[E0565]: malformed `allow_internal_unsafe` attribute input
830- --> $DIR/malformed-attrs.rs:217 :3
830+ --> $DIR/malformed-attrs.rs:219 :3
831831 |
832832LL | #[allow_internal_unsafe = 1]
833833 | ^^^^^^^^^^^^^^^^^^^^^^---
@@ -964,8 +964,18 @@ LL | #[automatically_derived = 18]
964964 = help: the `automatically_derived` attribute can only be applied to trait impl blocks
965965 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
966966
967+ error: use of deprecated `no_link` attribute
968+ --> $DIR/malformed-attrs.rs:208:1
969+ |
970+ LL | #[no_link()]
971+ | ^^^^^^^^^^^^
972+ |
973+ = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
974+ = note: for more information, see issue #164032 <https://github.com/rust-lang/rust/issues/164032>
975+ = note: `#[deny(no_link_attributes)]` (part of `#[deny(future_incompatible)]`) on by default
976+
967977error: valid forms for the attribute are `ignore` and `ignore = "reason"`
968- --> $DIR/malformed-attrs.rs:224 :3
978+ --> $DIR/malformed-attrs.rs:226 :3
969979 |
970980LL | #[ignore = 1]
971981 | ^^^^^^^^^^
@@ -984,7 +994,7 @@ LL | #[coroutine = 63] || {}
984994 = note: expected unit type `()`
985995 found coroutine `{coroutine@$DIR/malformed-attrs.rs:117:23: 117:25}`
986996
987- error: aborting due to 74 previous errors; 8 warnings emitted
997+ error: aborting due to 75 previous errors; 8 warnings emitted
988998
989999Some errors have detailed explanations: E0308, E0463, E0539, E0565, E0658, E0805.
9901000For more information about an error, try `rustc --explain E0308`.
@@ -1010,9 +1020,20 @@ LL | #[ignore()]
10101020 = note: for more information, see issue #57571 <https://github.com/rust-lang/rust/issues/57571>
10111021 = note: `#[deny(ill_formed_attribute_input)]` (part of `#[deny(future_incompatible)]`) on by default
10121022
1023+ Future breakage diagnostic:
1024+ error: use of deprecated `no_link` attribute
1025+ --> $DIR/malformed-attrs.rs:208:1
1026+ |
1027+ LL | #[no_link()]
1028+ | ^^^^^^^^^^^^
1029+ |
1030+ = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
1031+ = note: for more information, see issue #164032 <https://github.com/rust-lang/rust/issues/164032>
1032+ = note: `#[deny(no_link_attributes)]` (part of `#[deny(future_incompatible)]`) on by default
1033+
10131034Future breakage diagnostic:
10141035error: valid forms for the attribute are `ignore` and `ignore = "reason"`
1015- --> $DIR/malformed-attrs.rs:224 :3
1036+ --> $DIR/malformed-attrs.rs:226 :3
10161037 |
10171038LL | #[ignore = 1]
10181039 | ^^^^^^^^^^
0 commit comments