]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/macros-no-semicolon.stderr
Merge commit 'e228f0c16ea8c34794a6285bf57aab627c26b147' into libgccjit-codegen
[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