|
1 | 1 | error: unknown `doc` attribute `as_ptr`
|
2 |
| - --> $DIR/doc-attr.rs:7:7 |
| 2 | + --> $DIR/doc-attr.rs:5:7 |
3 | 3 | |
|
4 | 4 | LL | #[doc(as_ptr)]
|
5 | 5 | | ^^^^^^
|
6 | 6 | |
|
7 |
| - = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! |
8 |
| - = note: for more information, see issue #82730 <https://github.com/rust-lang/rust/issues/82730> |
9 |
| -note: the lint level is defined here |
10 |
| - --> $DIR/doc-attr.rs:2:9 |
11 |
| - | |
12 |
| -LL | #![deny(warnings)] |
13 |
| - | ^^^^^^^^ |
14 |
| - = note: `#[deny(invalid_doc_attributes)]` implied by `#[deny(warnings)]` |
| 7 | + = note: `#[deny(invalid_doc_attributes)]` on by default |
15 | 8 |
|
16 | 9 | error: invalid `doc` attribute
|
17 |
| - --> $DIR/doc-attr.rs:12:7 |
| 10 | + --> $DIR/doc-attr.rs:9:7 |
18 | 11 | |
|
19 | 12 | LL | #[doc(123)]
|
20 | 13 | | ^^^
|
21 |
| - | |
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 |
| - = note: for more information, see issue #82730 <https://github.com/rust-lang/rust/issues/82730> |
24 | 14 |
|
25 | 15 | error: invalid `doc` attribute
|
26 |
| - --> $DIR/doc-attr.rs:15:7 |
| 16 | + --> $DIR/doc-attr.rs:11:7 |
27 | 17 | |
|
28 | 18 | LL | #[doc("hello", "bar")]
|
29 | 19 | | ^^^^^^^
|
30 |
| - | |
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 |
| - = note: for more information, see issue #82730 <https://github.com/rust-lang/rust/issues/82730> |
33 | 20 |
|
34 | 21 | error: invalid `doc` attribute
|
35 |
| - --> $DIR/doc-attr.rs:15:16 |
| 22 | + --> $DIR/doc-attr.rs:11:16 |
36 | 23 | |
|
37 | 24 | LL | #[doc("hello", "bar")]
|
38 | 25 | | ^^^^^
|
39 |
| - | |
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 |
| - = note: for more information, see issue #82730 <https://github.com/rust-lang/rust/issues/82730> |
42 | 26 |
|
43 | 27 | error: unknown `doc` attribute `foo::bar`
|
44 |
| - --> $DIR/doc-attr.rs:20:7 |
| 28 | + --> $DIR/doc-attr.rs:14:7 |
45 | 29 | |
|
46 | 30 | LL | #[doc(foo::bar, crate::bar::baz = "bye")]
|
47 | 31 | | ^^^^^^^^
|
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 | 32 |
|
52 | 33 | error: unknown `doc` attribute `crate::bar::baz`
|
53 |
| - --> $DIR/doc-attr.rs:20:17 |
| 34 | + --> $DIR/doc-attr.rs:14:17 |
54 | 35 | |
|
55 | 36 | LL | #[doc(foo::bar, crate::bar::baz = "bye")]
|
56 | 37 | | ^^^^^^^^^^^^^^^^^^^^^^^
|
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 | 38 |
|
61 | 39 | error: unknown `doc` attribute `as_ptr`
|
62 |
| - --> $DIR/doc-attr.rs:3:8 |
| 40 | + --> $DIR/doc-attr.rs:2:8 |
63 | 41 | |
|
64 | 42 | LL | #![doc(as_ptr)]
|
65 | 43 | | ^^^^^^
|
66 |
| - | |
67 |
| - = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! |
68 |
| - = note: for more information, see issue #82730 <https://github.com/rust-lang/rust/issues/82730> |
69 | 44 |
|
70 | 45 | error: aborting due to 7 previous errors
|
71 | 46 |
|
0 commit comments