We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 50e1dc1 + 56cb916 commit bef3dc5Copy full SHA for bef3dc5
src/librustdoc/core.rs
@@ -226,14 +226,7 @@ crate fn create_config(
226
lints_to_show.extend(crate::lint::RUSTDOC_LINTS.iter().map(|lint| lint.name.to_string()));
227
228
let (lint_opts, lint_caps) = crate::lint::init_lints(lints_to_show, lint_opts, |lint| {
229
- // FIXME: why is this necessary?
230
- if lint.name == crate::lint::BROKEN_INTRA_DOC_LINKS.name
231
- || lint.name == crate::lint::INVALID_CODEBLOCK_ATTRIBUTES.name
232
- {
233
- None
234
- } else {
235
- Some((lint.name_lower(), lint::Allow))
236
- }
+ Some((lint.name_lower(), lint::Allow))
237
});
238
239
let crate_types =
0 commit comments