fork/rust
git clone https://git.julia.blue/fork/rust
b8cedc00407
1.42.0
1error: expected `{`, found `foo` 2 --> $DIR/issue-39848.rs:8:19 3 | 4LL | if $tgt.has_$field() {} 5 | -- -- help: try placing this code inside a block: `{ () }` 6 | | 7 | this `if` expression has a condition, but no block 8... 9LL | get_opt!(bar, foo); 10 | ^^^ expected `{` 11 12error: aborting due to previous error 13