Lint potential uses of non_exhaustive
#2017
Labels
A-lint
Area: New lints
good-first-issue
These issues are a good way to get started with Clippy
L-unnecessary
Lint: Warn about unnecessary code
T-AST
Type: Requires working with the AST
Once rust-lang/rust#44109 merges, instances like this:
Can be better worded as:
Additionally, having a unit variant at the end of an enum which is
doc(hidden)
should be marked as well.The text was updated successfully, but these errors were encountered: