We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
warnings
1 parent ae93bc5 commit e11b3eeCopy full SHA for e11b3ee
src/librustdoc/core.rs
@@ -257,10 +257,7 @@ where
257
.filter_map(|lint| {
258
// Permit feature-gated lints to avoid feature errors when trying to
259
// allow all lints.
260
- if lint.name == warnings_lint_name
261
- || lint.feature_gate.is_some()
262
- || allowed_lints.iter().any(|l| lint.name == l)
263
- {
+ if lint.feature_gate.is_some() || allowed_lints.iter().any(|l| lint.name == l) {
264
None
265
} else {
266
filter_call(lint)
0 commit comments