]> git.lizzy.rs Git - rust.git/blob - src/test/ui/macros/macro-in-expression-context.stderr
Add warning when whitespace is not skipped after an escaped newline.
[rust.git] / src / test / ui / macros / macro-in-expression-context.stderr
1 error: macro expansion ignores token `assert_eq` and any following
2   --> $DIR/macro-in-expression-context.rs:6:9
3    |
4 LL |         assert_eq!("B", "B");
5    |         ^^^^^^^^^
6 ...
7 LL |     foo!()
8    |     ------- help: you might be missing a semicolon here: `;`
9    |     |
10    |     caused by the macro expansion here
11    |
12    = note: the usage of `foo!` is likely invalid in expression context
13
14 error: aborting due to previous error
15