mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-05 01:24:03 +00:00
28 lines
721 B
Plaintext
28 lines
721 B
Plaintext
error[E0539]: malformed `doc` attribute input
|
|
--> $DIR/doc-attr.rs:3:1
|
|
|
|
|
LL | #[doc(123)]
|
|
| ^^^^^^---^^
|
|
| |
|
|
| expected this to be of the form `... = "..."`
|
|
|
|
error[E0539]: malformed `doc` attribute input
|
|
--> $DIR/doc-attr.rs:5:1
|
|
|
|
|
LL | #[doc("hello", "bar")]
|
|
| ^^^^^^-------^^^^^^^^^
|
|
| |
|
|
| expected this to be of the form `... = "..."`
|
|
|
|
error[E0539]: malformed `doc` attribute input
|
|
--> $DIR/doc-attr.rs:5:1
|
|
|
|
|
LL | #[doc("hello", "bar")]
|
|
| ^^^^^^^^^^^^^^^-----^^
|
|
| |
|
|
| expected this to be of the form `... = "..."`
|
|
|
|
error: aborting due to 3 previous errors
|
|
|
|
For more information about this error, try `rustc --explain E0539`.
|