1 error: expected one of `)`, `,`, `@`, or `|`, found keyword `in`
2 --> $DIR/issue-103435-extra-parentheses.rs:15:12
4 LL | for(_x in 1..10){}
5 | ^^ expected one of `)`, `,`, `@`, or `|`
7 error: unexpected parentheses surrounding `for` loop head
8 --> $DIR/issue-103435-extra-parentheses.rs:15:8
10 LL | for(_x in 1..10){}
13 help: remove parentheses in `for` loop
15 LL - for(_x in 1..10){}
16 LL + for _x in 1..10 {}
19 error: unnecessary parentheses around pattern
20 --> $DIR/issue-103435-extra-parentheses.rs:5:11
22 LL | if let(Some(_))= Some(1) {}
25 note: the lint level is defined here
26 --> $DIR/issue-103435-extra-parentheses.rs:2:9
28 LL | #![deny(unused_parens)]
30 help: remove these parentheses
32 LL - if let(Some(_))= Some(1) {}
33 LL + if let Some(_) = Some(1) {}
36 error: unnecessary parentheses around pattern
37 --> $DIR/issue-103435-extra-parentheses.rs:8:8
39 LL | for(_x)in 1..10 {}
42 help: remove these parentheses
44 LL - for(_x)in 1..10 {}
45 LL + for _x in 1..10 {}
48 error: unnecessary parentheses around `if` condition
49 --> $DIR/issue-103435-extra-parentheses.rs:11:7
54 help: remove these parentheses
60 error: aborting due to 5 previous errors