rust/tests/rustdoc-ui/lints/doc-attr.stderr
2026-02-05 11:44:34 -08:00

31 lines
991 B
Text

error: expected this to be of the form `... = "..."`
--> $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: expected this to be of the form `... = "..."`
--> $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: expected this to be of the form `... = "..."`
--> $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