mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-03 20:23:59 +00:00
16 lines
452 B
Plaintext
16 lines
452 B
Plaintext
error: found non-existing keyword `tadam` used in `#[doc(keyword = "...")]`
|
|
--> $DIR/existing_doc_keyword.rs:9:1
|
|
|
|
|
LL | #[doc(keyword = "tadam")]
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
= help: only existing keywords are allowed in core/std
|
|
note: the lint level is defined here
|
|
--> $DIR/existing_doc_keyword.rs:7:9
|
|
|
|
|
LL | #![deny(rustc::existing_doc_keyword)]
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: aborting due to 1 previous error
|
|
|