blob: ba404d0dd3f6353d791883b4d88b76ead9915742 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
error: macros that expand to items must either be surrounded with braces or followed by a semicolon
--> $DIR/issue-10536.rs:26:22
|
LL | assert!({one! two()});
| ^^
error: expected `(` or `{`, found `}`
--> $DIR/issue-10536.rs:31:22
|
LL | assert!({one! two});
| ^ expected `(` or `{`
error: aborting due to 2 previous errors
|