rust/tests/ui/parser/macros-no-semicolon.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

19 lines
476 B
Plaintext
Raw Normal View History

2021-07-24 17:58:55 +00:00
error: expected `;`, found `assert_eq`
--> $DIR/macros-no-semicolon.rs:2:21
2018-10-20 20:36:17 +00:00
|
LL | assert_eq!(1, 2)
2021-07-24 17:58:55 +00:00
| ^ help: add `;` here
2019-03-09 12:03:44 +00:00
LL | assert_eq!(3, 4)
2021-07-24 17:58:55 +00:00
| --------- unexpected token
2018-10-20 20:36:17 +00:00
2021-07-24 17:58:55 +00:00
error: expected `;`, found `println`
--> $DIR/macros-no-semicolon.rs:3:21
|
LL | assert_eq!(3, 4)
| ^ help: add `;` here
LL | println!("hello");
| ------- unexpected token
error: aborting due to 2 previous errors
2018-10-20 20:36:17 +00:00