Check lints related to trait implementations for false-positives if the trait impl is #[doc(hidden)]
#762
Labels
A-lint
Area: new or existing lint
C-enhancement
Category: raise the bar on expectations
E-help-wanted
Call for participation: Help is requested to fix this issue.
E-mentor
Call for participation: Mentorship is available for this issue.
For example:
The fact that
SecretlyIter
isimpl Iterator
is not public API. But there is still a hazard, since users may rely onSecretlyIter
beingimpl Iterator
indirectly, e.g. by using it in afor
loop. Discussion on that here: https://hachyderm.io/@kornel@mastodon.social/112292583897196920This situation will require some nuance. Tentative plan:
Iterator
.The text was updated successfully, but these errors were encountered: