]>
Commit | Line | Data |
---|---|---|
94222f64 XL |
1 | error: expected `;`, found `println` |
2 | --> $DIR/issue-87197-missing-semicolon.rs:6:16 | |
3 | | | |
4 | LL | let x = 100 | |
5 | | ^ help: add `;` here | |
6 | LL | println!("{}", x) | |
7 | | ------- unexpected token | |
8 | ||
9 | error: expected `;`, found keyword `let` | |
10 | --> $DIR/issue-87197-missing-semicolon.rs:7:22 | |
11 | | | |
12 | LL | println!("{}", x) | |
13 | | ^ help: add `;` here | |
14 | LL | let y = 200 | |
15 | | --- unexpected token | |
16 | ||
17 | error: expected `;`, found `println` | |
18 | --> $DIR/issue-87197-missing-semicolon.rs:8:16 | |
19 | | | |
20 | LL | let y = 200 | |
21 | | ^ help: add `;` here | |
22 | LL | println!("{}", y); | |
23 | | ------- unexpected token | |
24 | ||
25 | error: aborting due to 3 previous errors | |
26 |