rustdoc: new lint for warning when docs don't have an example #53805
Labels
A-lints
Area: Lints (warnings about flaws in source code) such as unused_mut.
C-feature-request
Category: A feature request, i.e: not implemented / a PR.
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
Per discussion on Twitter, it would be nice for rustdoc to be able to warn if an item's documentation doesn't include examples. Since we already have the infrastructure to support rustdoc-only lints (see
intra-doc-link-resolution-failure
) this should only need to ensure it has the same setup at that.cc @Manishearth @yoshuawuyts
The text was updated successfully, but these errors were encountered: