]> git.proxmox.com Git - rustc.git/blame - src/test/ui/parser/issues/issue-87197-missing-semicolon.stderr
New upstream version 1.67.1+dfsg1
[rustc.git] / src / test / ui / parser / issues / issue-87197-missing-semicolon.stderr
CommitLineData
94222f64
XL
1error: expected `;`, found `println`
2 --> $DIR/issue-87197-missing-semicolon.rs:6:16
3 |
4LL | let x = 100
5 | ^ help: add `;` here
6LL | println!("{}", x)
7 | ------- unexpected token
8
9error: expected `;`, found keyword `let`
10 --> $DIR/issue-87197-missing-semicolon.rs:7:22
11 |
12LL | println!("{}", x)
13 | ^ help: add `;` here
14LL | let y = 200
15 | --- unexpected token
16
17error: expected `;`, found `println`
18 --> $DIR/issue-87197-missing-semicolon.rs:8:16
19 |
20LL | let y = 200
21 | ^ help: add `;` here
22LL | println!("{}", y);
23 | ------- unexpected token
24
25error: aborting due to 3 previous errors
26