]> git.proxmox.com Git - rustc.git/blame - src/test/ui/parser/parse-error-correct.stderr
Merge tag 'debian/1.52.1+dfsg1-1_exp2' into proxmox/buster
[rustc.git] / src / test / ui / parser / parse-error-correct.stderr
CommitLineData
b7449926 1error: unexpected token: `;`
dfeec247 2 --> $DIR/parse-error-correct.rs:6:15
b7449926 3 |
532ac7d7 4LL | let x = y.;
b7449926
XL
5 | ^
6
7error: unexpected token: `(`
dfeec247 8 --> $DIR/parse-error-correct.rs:7:15
b7449926 9 |
532ac7d7 10LL | let x = y.();
b7449926
XL
11 | ^
12
13error[E0618]: expected function, found `{integer}`
dfeec247 14 --> $DIR/parse-error-correct.rs:7:13
b7449926
XL
15 |
16LL | let y = 42;
6a06907d 17 | - `y` has type `{integer}`
532ac7d7
XL
18LL | let x = y.;
19LL | let x = y.();
a1dfa0c6
XL
20 | ^---
21 | |
22 | call expression requires function
b7449926
XL
23
24error[E0610]: `{integer}` is a primitive type and therefore doesn't have fields
dfeec247 25 --> $DIR/parse-error-correct.rs:9:15
b7449926 26 |
532ac7d7 27LL | let x = y.foo;
b7449926
XL
28 | ^^^
29
30error: aborting due to 4 previous errors
31
48663c56 32Some errors have detailed explanations: E0610, E0618.
b7449926 33For more information about an error, try `rustc --explain E0610`.