This already exists: unreachable_patterns is warn-by-default. But, the unreachable code lints are included in the unused group and so #[allow(unused)] disabled it.
13 Likes
This already exists: unreachable_patterns is warn-by-default. But, the unreachable code lints are included in the unused group and so #[allow(unused)] disabled it.