]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-39848.stderr
Auto merge of #62638 - estebank:issue-62554, r=petrochenkov
[rust.git] / src / test / ui / issues / issue-39848.stderr
1 error: expected `{`, found `foo`
2   --> $DIR/issue-39848.rs:8:19
3    |
4 LL |         if $tgt.has_$field() {}
5    |         --                 - help: try placing this code inside a block: `{ ) }`
6    |         |
7    |         this `if` statement has a condition, but no block
8 ...
9 LL |     get_opt!(bar, foo);
10    |                   ^^^ expected `{`
11
12 error: aborting due to previous error
13