Skip to content

Commit

Permalink
add comment about lints whitelisting
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeGomez committed Jul 9, 2018
1 parent 92cda8c commit 66beb4e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/librustdoc/core.rs
Expand Up @@ -241,6 +241,8 @@ pub fn run_core(search_paths: SearchPaths,
.into_iter()
.chain(rustc_lint::SoftLints.get_lints().into_iter())
.filter_map(|lint| {
// We don't want to whitelist *all* lints so let's
// ignore those ones.
if lint.name == warnings_lint_name ||
lint.name == intra_link_resolution_failure_name ||
lint.name == missing_docs {
Expand Down

0 comments on commit 66beb4e

Please sign in to comment.