clippy::missing_docs_in_private_items
detects const
in fn
but --document-private-items
doesn't generate it.
#13298
Labels
C-bug
Category: Clippy is not doing the correct thing
Summary
clippy::missing_docs_in_private_items
seems to trigger inconst
infn
, butcargo doc --document-private-items
doesn't generate thisconst
.Lint Name
missing_docs_in_private_items
Reproducer
I tried this code:
I expected to see this happen:
Instead, this happened:
No warning.
Version
Additional Labels
No response
The text was updated successfully, but these errors were encountered: