fork/rust
git clone https://git.julia.blue/fork/rust
b8cedc00407
1.42.0
1error: expected one of `)`, `,`, `@`, or `|`, found keyword `in` 2 --> $DIR/recover-for-loop-parens-around-head.rs:10:16 3 | 4LL | for ( elem in vec ) { 5 | ^^ expected one of `)`, `,`, `@`, or `|` 6 7error: unexpected closing `)` 8 --> $DIR/recover-for-loop-parens-around-head.rs:10:23 9 | 10LL | for ( elem in vec ) { 11 | --------------^ 12 | | 13 | opening `(` 14 | help: remove parenthesis in `for` loop: `elem in vec` 15 16error[E0308]: mismatched types 17 --> $DIR/recover-for-loop-parens-around-head.rs:13:38 18 | 19LL | const RECOVERY_WITNESS: () = 0; 20 | ^ expected `()`, found integer 21 22error: aborting due to 3 previous errors 23 24For more information about this error, try `rustc --explain E0308`.