We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
broken_intra_doc_links
1 parent 7f4afdf commit 56cb916Copy full SHA for 56cb916
src/librustdoc/core.rs
@@ -269,14 +269,7 @@ crate fn create_config(
269
lints_to_show.extend(crate::lint::RUSTDOC_LINTS.iter().map(|lint| lint.name.to_string()));
270
271
let (lint_opts, lint_caps) = crate::lint::init_lints(lints_to_show, lint_opts, |lint| {
272
- // FIXME: why is this necessary?
273
- if lint.name == crate::lint::BROKEN_INTRA_DOC_LINKS.name
274
- || lint.name == crate::lint::INVALID_CODEBLOCK_ATTRIBUTES.name
275
- {
276
- None
277
- } else {
278
- Some((lint.name_lower(), lint::Allow))
279
- }
+ Some((lint.name_lower(), lint::Allow))
280
});
281
282
let crate_types =
0 commit comments