As @scottmcm [pointed out here](https://github.com/rust-lang/rust/issues/51087#issuecomment-397918200), the `unused_parens` lints should be extended to also catch unused parentheses in patterns: ```rust match (1) { // Warns, as expected (_) => {} // Doesn't warn, but should for consistency } ``` [Play](https://play.rust-lang.org/?gist=9f08276033eab518cd8055ff148c266a&version=nightly)
As @scottmcm pointed out here, the
unused_parenslints should be extended to also catch unused parentheses in patterns:Play