blob: d27d6fbaef7a68fef3f963bf260ca75ba5a375a6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
error: macro expansion ignores token `assert_eq` and any following
--> $DIR/macro-in-expression-context.rs:6:9
|
LL | assert_eq!("B", "B");
| ^^^^^^^^^
...
LL | foo!()
| ------- help: you might be missing a semicolon here: `;`
| |
| caused by the macro expansion here
|
= note: the usage of `foo!` is likely invalid in expression context
error: aborting due to previous error
|