fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error: expected field pattern, found `_` 2 --> $DIR/struct-enum-ignoring-field-with-underscore.rs:9:27 3 | 4LL | if let Some(Foo::Bar {_}) = foo {} 5 | ^ 6 | 7help: to omit remaining fields, use `..` 8 | 9LL | if let Some(Foo::Bar {..}) = foo {} 10 | ~~ 11 12error: aborting due to previous error 13