@@ -40,6 +40,24 @@ 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 ``
44
+ --> $DIR/doc-attr.rs:20:7
45
+ |
46
+ LL | #[doc(foo::bar, crate::bar::baz = "bye")]
47
+ | ^^^^^^^^
48
+ |
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
+ = note: for more information, see issue #82730 <https://github.com/rust-lang/rust/issues/82730>
51
+
52
+ error: unknown `doc` attribute ``
53
+ --> $DIR/doc-attr.rs:20:17
54
+ |
55
+ LL | #[doc(foo::bar, crate::bar::baz = "bye")]
56
+ | ^^^^^^^^^^^^^^^^^^^^^^^
57
+ |
58
+ = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
59
+ = note: for more information, see issue #82730 <https://github.com/rust-lang/rust/issues/82730>
60
+
43
61
error: unknown `doc` attribute `as_ptr`
44
62
--> $DIR/doc-attr.rs:3:8
45
63
|
@@ -49,5 +67,5 @@ LL | #![doc(as_ptr)]
49
67
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
50
68
= note: for more information, see issue #82730 <https://github.com/rust-lang/rust/issues/82730>
51
69
52
- error: aborting due to 5 previous errors
70
+ error: aborting due to 7 previous errors
53
71
0 commit comments