1
Fork 0

Rollup merge of #134202 - nnethercote:rm-existing_doc_keyword, r=GuillaumeGomez

Remove `rustc::existing_doc_keyword` lint

The check doesn't require a lint.

r? ``@GuillaumeGomez``
This commit is contained in:
Jacob Pratt 2024-12-17 05:36:52 -05:00 committed by GitHub
commit 52b4557639
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
25 changed files with 119 additions and 176 deletions

View file

@ -536,9 +536,6 @@ lint_non_camel_case_type = {$sort} `{$name}` should have an upper camel case nam
.suggestion = convert the identifier to upper camel case
.label = should have an UpperCamelCase name
lint_non_existent_doc_keyword = found non-existing keyword `{$keyword}` used in `#[doc(keyword = "...")]`
.help = only existing keywords are allowed in core/std
lint_non_fmt_panic = panic message is not a string literal
.note = this usage of `{$name}!()` is deprecated; it will be a hard error in Rust 2021
.more_info_note = for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>