Skip to content

Commit 66beb4e

Browse files
add comment about lints whitelisting
1 parent 92cda8c commit 66beb4e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/librustdoc/core.rs

+2
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,8 @@ pub fn run_core(search_paths: SearchPaths,
241241
.into_iter()
242242
.chain(rustc_lint::SoftLints.get_lints().into_iter())
243243
.filter_map(|lint| {
244+
// We don't want to whitelist *all* lints so let's
245+
// ignore those ones.
244246
if lint.name == warnings_lint_name ||
245247
lint.name == intra_link_resolution_failure_name ||
246248
lint.name == missing_docs {

0 commit comments

Comments
 (0)