2022-06-27 09:18:30 -05:00
|
|
|
error: found non-existing keyword `tadam` used in `#[doc(keyword = \"...\")]`
|
2020-12-03 08:32:41 -06:00
|
|
|
--> $DIR/existing_doc_keyword.rs:10:1
|
2020-12-03 07:05:58 -06:00
|
|
|
|
|
|
|
|
LL | #[doc(keyword = "tadam")]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
2022-09-22 09:25:05 -05:00
|
|
|
= help: only existing keywords are allowed in core/std
|
2020-12-03 08:32:41 -06:00
|
|
|
note: the lint level is defined here
|
|
|
|
--> $DIR/existing_doc_keyword.rs:8:9
|
|
|
|
|
|
|
|
|
LL | #![deny(rustc::existing_doc_keyword)]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2020-12-03 07:05:58 -06:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|