mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 15:23:46 +00:00
27 lines
693 B
Plaintext
27 lines
693 B
Plaintext
error: `#[doc(keyword = "...")]` should be used on empty modules
|
|
--> $DIR/doc_keyword.rs:6:7
|
|
|
|
|
LL | #[doc(keyword = "hell")]
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
error: `#[doc(keyword = "...")]` should be used on modules
|
|
--> $DIR/doc_keyword.rs:11:7
|
|
|
|
|
LL | #[doc(keyword = "hall")]
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
error: `#[doc(keyword = "...")]` should be used on modules
|
|
--> $DIR/doc_keyword.rs:17:11
|
|
|
|
|
LL | #[doc(keyword = "match")]
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
error: `#![doc(keyword = "...")]` isn't allowed as a crate-level attribute
|
|
--> $DIR/doc_keyword.rs:4:8
|
|
|
|
|
LL | #![doc(keyword = "hello")]
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
error: aborting due to 4 previous errors
|
|
|