]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/macros-no-semicolon.stderr
Auto merge of #85690 - bstrie:m2_arena, r=jackh726,nagisa
[rust.git] / src / test / ui / parser / macros-no-semicolon.stderr
1 error: expected `;`, found `assert_eq`
2   --> $DIR/macros-no-semicolon.rs:2:21
3    |
4 LL |     assert_eq!(1, 2)
5    |                     ^ help: add `;` here
6 LL |     assert_eq!(3, 4)
7    |     --------- unexpected token
8
9 error: expected `;`, found `println`
10   --> $DIR/macros-no-semicolon.rs:3:21
11    |
12 LL |     assert_eq!(3, 4)
13    |                     ^ help: add `;` here
14 LL |     println!("hello");
15    |     ------- unexpected token
16
17 error: aborting due to 2 previous errors
18