Only deny doc_keyword in std and set it as "allow" by default

This commit is contained in:
Guillaume Gomez 2020-12-03 15:32:41 +01:00
parent 0105e4a54b
commit 50eb3a89f8
4 changed files with 10 additions and 3 deletions

View file

@ -270,7 +270,7 @@ impl EarlyLintPass for LintPassImpl {
declare_tool_lint! {
pub rustc::EXISTING_DOC_KEYWORD,
Deny,
Allow,
"Check that documented keywords in std and core actually exist",
report_in_external_macro: true
}