fork/rust
git clone https://git.julia.blue/fork/rust
49cae55760d
1.44.0
1error: expected `{`, found `foo` 2 --> $DIR/issue-39848.rs:3:21 3 | 4LL | if $tgt.has_$field() {} 5 | -- ^^^^^^-- 6 | | | 7 | | expected `{` 8 | | help: try placing this code inside a block: `{ $field() }` 9 | this `if` expression has a condition, but no block 10... 11LL | get_opt!(bar, foo); 12 | ------------------- in this macro invocation 13 | 14 = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) 15 16error: aborting due to previous error 17