]> git.proxmox.com Git - rustc.git/blob - tests/ui/rustdoc/deny-invalid-doc-attrs.stderr
New upstream version 1.76.0+dfsg1
[rustc.git] / tests / ui / rustdoc / deny-invalid-doc-attrs.stderr
1 error: unknown `doc` attribute `x`
2 --> $DIR/deny-invalid-doc-attrs.rs:3:8
3 |
4 LL | #![doc(x)]
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>
9 note: the lint level is defined here
10 --> $DIR/deny-invalid-doc-attrs.rs:1:9
11 |
12 LL | #![deny(invalid_doc_attributes)]
13 | ^^^^^^^^^^^^^^^^^^^^^^
14
15 error: aborting due to 1 previous error
16