1
1
error: `#[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
3
3
|
4
4
LL | #[doc(hidden)]
5
5
| ^^^^^^^^^^^^^^ help: remove this attribute
6
6
|
7
7
note: the lint level is defined here
8
- --> $DIR/unused-attr-doc-hidden.rs:1 :9
8
+ --> $DIR/unused-attr-doc-hidden.rs:4 :9
9
9
|
10
10
LL | #![deny(unused_attributes)]
11
11
| ^^^^^^^^^^^^^^^^^
12
12
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
13
13
= note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
14
14
15
15
error: `#[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
17
17
|
18
18
LL | #[doc(hidden)]
19
19
| ^^^^^^^^^^^^^^ help: remove this attribute
@@ -22,7 +22,7 @@ LL | #[doc(hidden)]
22
22
= note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
23
23
24
24
error: `#[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
26
26
|
27
27
LL | #[doc(hidden, alias = "aka")]
28
28
| ^^^^^^--
@@ -33,7 +33,7 @@ LL | #[doc(hidden, alias = "aka")]
33
33
= note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
34
34
35
35
error: `#[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
37
37
|
38
38
LL | #[doc(alias = "this", hidden,)]
39
39
| ^^^^^^-
@@ -44,7 +44,7 @@ LL | #[doc(alias = "this", hidden,)]
44
44
= note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
45
45
46
46
error: `#[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
48
48
|
49
49
LL | #[doc(hidden, hidden)]
50
50
| ^^^^^^--
@@ -55,7 +55,7 @@ LL | #[doc(hidden, hidden)]
55
55
= note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
56
56
57
57
error: `#[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
59
59
|
60
60
LL | #[doc(hidden, hidden)]
61
61
| ^^^^^^ help: remove this attribute
0 commit comments