add comment about lints whitelisting
This commit is contained in:
parent
92cda8c7da
commit
66beb4e5b4
1 changed files with 2 additions and 0 deletions
|
@ -241,6 +241,8 @@ pub fn run_core(search_paths: SearchPaths,
|
||||||
.into_iter()
|
.into_iter()
|
||||||
.chain(rustc_lint::SoftLints.get_lints().into_iter())
|
.chain(rustc_lint::SoftLints.get_lints().into_iter())
|
||||||
.filter_map(|lint| {
|
.filter_map(|lint| {
|
||||||
|
// We don't want to whitelist *all* lints so let's
|
||||||
|
// ignore those ones.
|
||||||
if lint.name == warnings_lint_name ||
|
if lint.name == warnings_lint_name ||
|
||||||
lint.name == intra_link_resolution_failure_name ||
|
lint.name == intra_link_resolution_failure_name ||
|
||||||
lint.name == missing_docs {
|
lint.name == missing_docs {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue