1 error: expected pattern, found `let`
2 --> $DIR/unnecessary-let.rs:2:9
4 LL | for let x of [1, 2, 3] {}
5 | ^^^ help: remove the unnecessary `let` keyword
7 error: missing `in` in `for` loop
8 --> $DIR/unnecessary-let.rs:2:15
10 LL | for let x of [1, 2, 3] {}
11 | ^^ help: try using `in` here instead
13 error: expected pattern, found `let`
14 --> $DIR/unnecessary-let.rs:7:9
17 | ^^^ help: remove the unnecessary `let` keyword
19 error: aborting due to 3 previous errors