2 #![deny(unused_parens)]
5 if let Some(_) = Some(1) {}
6 //~^ ERROR unnecessary parentheses around pattern
9 //~^ ERROR unnecessary parentheses around pattern
12 //~^ ERROR unnecessary parentheses around `if` condition
16 //~^ ERROR expected one of
17 //~| ERROR unexpected parentheses surrounding