rust/src/test/ui/feature-gate-exhaustive-patterns.stderr

9 lines
291 B
Plaintext
Raw Normal View History

error[E0005]: refutable pattern in local binding: `Err(_)` not covered
--> $DIR/feature-gate-exhaustive-patterns.rs:16:9
|
16 | let Ok(_x) = foo(); //~ ERROR refutable pattern in local binding
| ^^^^^^ pattern `Err(_)` not covered
error: aborting due to previous error