summary refs log tree commit diff
path: root/src/test/ui/issue-39848.stderr
blob: 9ca39dbaa3436729ca55d64ae0721e1f4d016b28 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
error: expected `{`, found `foo`
  --> $DIR/issue-39848.rs:18: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);
   |                   ^^^

error: aborting due to previous error