@@ -13,7 +13,7 @@ LL | #![deny(warnings)]
1313 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
1414 = note: for more information, see issue #82730 <https://github.com/rust-lang/rust/issues/82730>
1515
16- error: unknown `doc` attribute
16+ error: invalid `doc` attribute
1717 --> $DIR/doc-attr.rs:12:7
1818 |
1919LL | #[doc(123)]
@@ -22,7 +22,7 @@ LL | #[doc(123)]
2222 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
2323 = note: for more information, see issue #82730 <https://github.com/rust-lang/rust/issues/82730>
2424
25- error: unknown `doc` attribute
25+ error: invalid `doc` attribute
2626 --> $DIR/doc-attr.rs:15:7
2727 |
2828LL | #[doc("hello", "bar")]
@@ -31,7 +31,7 @@ LL | #[doc("hello", "bar")]
3131 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
3232 = note: for more information, see issue #82730 <https://github.com/rust-lang/rust/issues/82730>
3333
34- error: unknown `doc` attribute
34+ error: invalid `doc` attribute
3535 --> $DIR/doc-attr.rs:15:16
3636 |
3737LL | #[doc("hello", "bar")]
@@ -40,7 +40,7 @@ LL | #[doc("hello", "bar")]
4040 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
4141 = note: for more information, see issue #82730 <https://github.com/rust-lang/rust/issues/82730>
4242
43- error: unknown `doc` attribute ``
43+ error: unknown `doc` attribute `foo::bar `
4444 --> $DIR/doc-attr.rs:20:7
4545 |
4646LL | #[doc(foo::bar, crate::bar::baz = "bye")]
@@ -49,7 +49,7 @@ LL | #[doc(foo::bar, crate::bar::baz = "bye")]
4949 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
5050 = note: for more information, see issue #82730 <https://github.com/rust-lang/rust/issues/82730>
5151
52- error: unknown `doc` attribute ``
52+ error: unknown `doc` attribute `crate::bar::baz `
5353 --> $DIR/doc-attr.rs:20:17
5454 |
5555LL | #[doc(foo::bar, crate::bar::baz = "bye")]
0 commit comments