fork/rust

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

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

master
476 B18 linesraw
1error: expected `;`, found `assert_eq`
2  --> $DIR/macros-no-semicolon.rs:2:21
3   |
4LL |     assert_eq!(1, 2)
5   |                     ^ help: add `;` here
6LL |     assert_eq!(3, 4)
7   |     --------- unexpected token
8
9error: expected `;`, found `println`
10  --> $DIR/macros-no-semicolon.rs:3:21
11   |
12LL |     assert_eq!(3, 4)
13   |                     ^ help: add `;` here
14LL |     println!("hello");
15   |     ------- unexpected token
16
17error: aborting due to 2 previous errors
18