missing_debug_implementations misses structs exported from other crates #44304
Labels
A-lints
Area: Lints (warnings about flaws in source code) such as unused_mut.
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
For example,
std::str::SplitWhitespace
does not have a debug implementation (see: PR #44303), but the lint didn't trigger. I'd consider this a bug; if there isn't a debug implementation for an exported struct, the user should have to putallow(missing_debug_implementations)
to suppress it if they can't fix it themself.This probably applies to
missing_docs
too.The text was updated successfully, but these errors were encountered: