fork/rust
git clone https://git.julia.blue/fork/rust
4fb7144ed15
1.43.0
1error: unexpected token: `;` 2 --> $DIR/parse-error-correct.rs:6:15 3 | 4LL | let x = y.; 5 | ^ 6 7error: unexpected token: `(` 8 --> $DIR/parse-error-correct.rs:7:15 9 | 10LL | let x = y.(); 11 | ^ 12 13error[E0618]: expected function, found `{integer}` 14 --> $DIR/parse-error-correct.rs:7:13 15 | 16LL | let y = 42; 17 | - `{integer}` defined here 18LL | let x = y.; 19LL | let x = y.(); 20 | ^--- 21 | | 22 | call expression requires function 23 24error[E0610]: `{integer}` is a primitive type and therefore doesn't have fields 25 --> $DIR/parse-error-correct.rs:9:15 26 | 27LL | let x = y.foo; 28 | ^^^ 29 30error: aborting due to 4 previous errors 31 32Some errors have detailed explanations: E0610, E0618. 33For more information about an error, try `rustc --explain E0610`.