11error: `#[doc(hidden)]` is ignored on trait impl items
2- --> $DIR/unused-attr-doc-hidden.rs:16 :5
2+ --> $DIR/unused-attr-doc-hidden.rs:29 :5
33 |
44LL | #[doc(hidden)]
55 | ^^^^^^^^^^^^^^ help: remove this attribute
66 |
77note: the lint level is defined here
8- --> $DIR/unused-attr-doc-hidden.rs:1 :9
8+ --> $DIR/unused-attr-doc-hidden.rs:4 :9
99 |
1010LL | #![deny(unused_attributes)]
1111 | ^^^^^^^^^^^^^^^^^
1212 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
1313 = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
1414
1515error: `#[doc(hidden)]` is ignored on trait impl items
16- --> $DIR/unused-attr-doc-hidden.rs:21 :5
16+ --> $DIR/unused-attr-doc-hidden.rs:34 :5
1717 |
1818LL | #[doc(hidden)]
1919 | ^^^^^^^^^^^^^^ help: remove this attribute
@@ -22,7 +22,7 @@ LL | #[doc(hidden)]
2222 = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
2323
2424error: `#[doc(hidden)]` is ignored on trait impl items
25- --> $DIR/unused-attr-doc-hidden.rs:26 :11
25+ --> $DIR/unused-attr-doc-hidden.rs:39 :11
2626 |
2727LL | #[doc(hidden, alias = "aka")]
2828 | ^^^^^^--
@@ -33,7 +33,7 @@ LL | #[doc(hidden, alias = "aka")]
3333 = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
3434
3535error: `#[doc(hidden)]` is ignored on trait impl items
36- --> $DIR/unused-attr-doc-hidden.rs:31 :27
36+ --> $DIR/unused-attr-doc-hidden.rs:44 :27
3737 |
3838LL | #[doc(alias = "this", hidden,)]
3939 | ^^^^^^-
@@ -44,7 +44,7 @@ LL | #[doc(alias = "this", hidden,)]
4444 = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
4545
4646error: `#[doc(hidden)]` is ignored on trait impl items
47- --> $DIR/unused-attr-doc-hidden.rs:36 :11
47+ --> $DIR/unused-attr-doc-hidden.rs:49 :11
4848 |
4949LL | #[doc(hidden, hidden)]
5050 | ^^^^^^--
@@ -55,7 +55,7 @@ LL | #[doc(hidden, hidden)]
5555 = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
5656
5757error: `#[doc(hidden)]` is ignored on trait impl items
58- --> $DIR/unused-attr-doc-hidden.rs:36 :19
58+ --> $DIR/unused-attr-doc-hidden.rs:49 :19
5959 |
6060LL | #[doc(hidden, hidden)]
6161 | ^^^^^^ help: remove this attribute
0 commit comments