missing_docs_in_private_items
warns for const _
#13427
Labels
C-bug
Category: Clippy is not doing the correct thing
I-false-positive
Issue: The lint was triggered on code it shouldn't have
Summary
This item cannot have generated docs, so, shouldn't really be documented.
Lint Name
missing_docs_in_private_items
Reproducer
I tried this code:
I saw this happen:
When this shouldn't trigger at all.
Version
rustc 1.83.0-nightly (506f22b46 2024-09-19)
binary: rustc
commit-hash: 506f22b4663f3e756e1e6a4f66c6309fdc00819c
commit-date: 2024-09-19
host: x86_64-unknown-linux-gnu
release: 1.83.0-nightly
LLVM version: 19.1.0
Additional Labels
No response
The text was updated successfully, but these errors were encountered: