Lint for unconditional unreachable!() #1632
Labels
A-lint
Area: New lints
E-hard
Call for participation: This a hard problem and requires more experience or effort to work on
E-medium
Call for participation: Medium difficulty level problem and requires some initial experience.
L-correctness
Lint: Belongs in the correctness lint group
T-middle
Type: Probably requires verifiying types
T-MIR
Type: This lint will require working with the MIR
Example: BurntSushi/byteorder#68.
Essentially, lint for an
unreachable!()
call that is neither nested in a conditional block, nor after any non-pure code.The text was updated successfully, but these errors were encountered: