fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error: unknown `doc` attribute `as_ptr` 2 --> $DIR/doc-attr.rs:7:7 3 | 4LL | #[doc(as_ptr)] 5 | ^^^^^^ 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> 9note: the lint level is defined here 10 --> $DIR/doc-attr.rs:2:9 11 | 12LL | #![deny(warnings)] 13 | ^^^^^^^^ 14 = note: `#[deny(invalid_doc_attributes)]` implied by `#[deny(warnings)]` 15 16error: invalid `doc` attribute 17 --> $DIR/doc-attr.rs:12:7 18 | 19LL | #[doc(123)] 20 | ^^^ 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 25error: invalid `doc` attribute 26 --> $DIR/doc-attr.rs:15:7 27 | 28LL | #[doc("hello", "bar")] 29 | ^^^^^^^ 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 34error: invalid `doc` attribute 35 --> $DIR/doc-attr.rs:15:16 36 | 37LL | #[doc("hello", "bar")] 38 | ^^^^^ 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 43error: unknown `doc` attribute `foo::bar` 44 --> $DIR/doc-attr.rs:20:7 45 | 46LL | #[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 52error: unknown `doc` attribute `crate::bar::baz` 53 --> $DIR/doc-attr.rs:20:17 54 | 55LL | #[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 61error: unknown `doc` attribute `as_ptr` 62 --> $DIR/doc-attr.rs:3:8 63 | 64LL | #![doc(as_ptr)] 65 | ^^^^^^ 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 70error: aborting due to 7 previous errors 71