mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-27 18:57:42 +03:00
32 lines
949 B
Plaintext
32 lines
949 B
Plaintext
error: malformed `doc` attribute input
|
|
--> $DIR/doc-attr.rs:4:7
|
|
|
|
|
LL | #[doc(123)]
|
|
| ^^^
|
|
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
|
note: the lint level is defined here
|
|
--> $DIR/doc-attr.rs:2:9
|
|
|
|
|
LL | #![deny(invalid_doc_attributes)]
|
|
| ^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: malformed `doc` attribute input
|
|
--> $DIR/doc-attr.rs:7:7
|
|
|
|
|
LL | #[doc("hello", "bar")]
|
|
| ^^^^^^^
|
|
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
|
|
|
error: malformed `doc` attribute input
|
|
--> $DIR/doc-attr.rs:7:16
|
|
|
|
|
LL | #[doc("hello", "bar")]
|
|
| ^^^^^
|
|
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
|
|
|
error: aborting due to 3 previous errors
|
|
|