diff options
| author | bors <bors@rust-lang.org> | 2024-11-03 09:10:22 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-11-03 09:10:22 +0000 |
| commit | ddd1a86c662bc507ed0797e05354bc6e1272ba58 (patch) | |
| tree | 483238f945808f7592b59515723b6026828d7586 /tests/rustdoc-js-std/parser-errors.js | |
| parent | 52b8324503d670646bc54a976bbc6baa9ddde08e (diff) | |
| parent | b3bf128e545213b8e101b9584acc84de9ece22d8 (diff) | |
| download | rust-ddd1a86c662bc507ed0797e05354bc6e1272ba58.tar.gz rust-ddd1a86c662bc507ed0797e05354bc6e1272ba58.zip | |
Auto merge of #13573 - y21:issue13427, r=Centri3
Don't lint unnamed consts and nested items within functions in `missing_docs_in_private_items` With this change we no longer require doc comments for `const _: ()` items as well as nested items in functions or other bodies. In both of those cases, rustdoc generates no documentation even with `--document-private-items`. Fixes #13427 (first commit) Fixes #13298 (second commit) cc https://github.com/rust-lang/rust-clippy/issues/5736#issuecomment-668524296 changelog: [`missing_docs_in_private_items`]: avoid linting in more cases where rustdoc generates no documentation
Diffstat (limited to 'tests/rustdoc-js-std/parser-errors.js')
0 files changed, 0 insertions, 0 deletions
