fork/rust
git clone https://git.julia.blue/fork/rust
4560ea788cb
1.39.0
1error[E0005]: refutable pattern in local binding: `A(_)` not covered 2 --> $DIR/uninhabited-irrefutable.rs:27:9 3 | 4LL | / enum Foo { 5LL | | A(foo::SecretlyEmpty), 6 | | - not covered 7LL | | B(foo::NotSoSecretlyEmpty), 8LL | | C(NotSoSecretlyEmpty), 9LL | | D(u32), 10LL | | } 11 | |_- `Foo` defined here 12... 13LL | let Foo::D(_y) = x; 14 | ^^^^^^^^^^ pattern `A(_)` not covered 15 16error: aborting due to previous error 17 18For more information about this error, try `rustc --explain E0005`.