1 error: unexpected token: `;`
2 --> $DIR/parse-error-correct.rs:8:15
4 LL | let x = y.; //~ ERROR unexpected token
7 error: unexpected token: `(`
8 --> $DIR/parse-error-correct.rs:9:15
10 LL | let x = y.(); //~ ERROR unexpected token
13 error[E0618]: expected function, found `{integer}`
14 --> $DIR/parse-error-correct.rs:9:13
17 | - `{integer}` defined here
18 LL | let x = y.; //~ ERROR unexpected token
19 LL | let x = y.(); //~ ERROR unexpected token
22 | call expression requires function
24 error[E0610]: `{integer}` is a primitive type and therefore doesn't have fields
25 --> $DIR/parse-error-correct.rs:11:15
27 LL | let x = y.foo; //~ ERROR `{integer}` is a primitive type and therefore doesn't have fields [E061
30 error: aborting due to 4 previous errors
32 Some errors occurred: E0610, E0618.
33 For more information about an error, try `rustc --explain E0610`.