fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
694 B26 linesraw
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