1 error[E0005]: refutable pattern in local binding: `Err(_)` not covered
2 --> $DIR/feature-gate-exhaustive-patterns.rs:16:9
4 LL | let Ok(_x) = foo(); //~ ERROR refutable pattern in local binding
5 | ^^^^^^ pattern `Err(_)` not covered
7 error: aborting due to previous error
9 For more information about this error, try `rustc --explain E0005`.