@@ -13,7 +13,7 @@ LL | #![deny(warnings)]
13
13
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
14
14
= note: for more information, see issue #82730 <https://github.com/rust-lang/rust/issues/82730>
15
15
16
- error: unknown `doc` attribute
16
+ error: invalid `doc` attribute
17
17
--> $DIR/doc-attr.rs:12:7
18
18
|
19
19
LL | #[doc(123)]
@@ -22,7 +22,7 @@ LL | #[doc(123)]
22
22
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
23
23
= note: for more information, see issue #82730 <https://github.com/rust-lang/rust/issues/82730>
24
24
25
- error: unknown `doc` attribute
25
+ error: invalid `doc` attribute
26
26
--> $DIR/doc-attr.rs:15:7
27
27
|
28
28
LL | #[doc("hello", "bar")]
@@ -31,7 +31,7 @@ LL | #[doc("hello", "bar")]
31
31
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
32
32
= note: for more information, see issue #82730 <https://github.com/rust-lang/rust/issues/82730>
33
33
34
- error: unknown `doc` attribute
34
+ error: invalid `doc` attribute
35
35
--> $DIR/doc-attr.rs:15:16
36
36
|
37
37
LL | #[doc("hello", "bar")]
@@ -40,7 +40,7 @@ LL | #[doc("hello", "bar")]
40
40
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
41
41
= note: for more information, see issue #82730 <https://github.com/rust-lang/rust/issues/82730>
42
42
43
- error: unknown `doc` attribute ``
43
+ error: unknown `doc` attribute `foo::bar `
44
44
--> $DIR/doc-attr.rs:20:7
45
45
|
46
46
LL | #[doc(foo::bar, crate::bar::baz = "bye")]
@@ -49,7 +49,7 @@ LL | #[doc(foo::bar, crate::bar::baz = "bye")]
49
49
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
50
50
= note: for more information, see issue #82730 <https://github.com/rust-lang/rust/issues/82730>
51
51
52
- error: unknown `doc` attribute ``
52
+ error: unknown `doc` attribute `crate::bar::baz `
53
53
--> $DIR/doc-attr.rs:20:17
54
54
|
55
55
LL | #[doc(foo::bar, crate::bar::baz = "bye")]
0 commit comments