rust/src/test/ui/issues/issue-39848.stderr
2019-12-23 13:42:25 +01:00

14 lines
385 B
Plaintext

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