Skip to content

Commit 3e1dfde

Browse files
committed
Auto merge of rust-lang#141000 - fmease:rustdoc-also-run-lint-UNUSED_DOC_COMMENTS, r=<try>
rustdoc: Also run lint unused_doc_comments
2 parents 414482f + 73996f3 commit 3e1dfde

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/librustdoc/core.rs

+1
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,7 @@ pub(crate) fn create_config(
230230
// it's unclear whether these should be part of rustdoc directly (#77364)
231231
rustc_lint::builtin::MISSING_DOCS.name.to_string(),
232232
rustc_lint::builtin::INVALID_DOC_ATTRIBUTES.name.to_string(),
233+
rustc_lint::builtin::UNUSED_DOC_COMMENTS.name.to_string(),
233234
// these are definitely not part of rustdoc, but we want to warn on them anyway.
234235
rustc_lint::builtin::RENAMED_AND_REMOVED_LINTS.name.to_string(),
235236
rustc_lint::builtin::UNKNOWN_LINTS.name.to_string(),

0 commit comments

Comments
 (0)