icu4x
icu4x copied to clipboard
Add lint for debug impls on exported types
Context: https://github.com/unicode-org/icu4x/pull/2250#discussion_r930774402
Our style guide says that we should implement Debug on all exported types; however, we don't currently do that.
@robertbastian suggested the missing_debug_implementations
rustc lint.
@Manishearth thoughts?
Most likely not time for 1.0 but we should try to land it in 1.1
Yeah, seems like a good idea!
Is this 1.2 blocking?
- @sffc - Is this a property we want to retain in the style guide?
- @Manishearth - I think it's helpful when things have debug impls, but the debug impls don't necesarily need to be useful. But what it helps is that derive(Debug) can work.
- @nordzilla - I strongly prefer it when everything has a Debug impl.