rust/src/test/ui/issues/issue-39848.stderr
2018-12-25 21:08:33 -07:00

13 lines
388 B
Text

error: expected `{`, found `foo`
--> $DIR/issue-39848.rs:8:19
|
LL | if $tgt.has_$field() {}
| -- - help: try placing this code inside a block: `{ foo(); }`
| |
| this `if` statement has a condition, but no block
...
LL | get_opt!(bar, foo);
| ^^^ expected `{`
error: aborting due to previous error