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

10 lines
369 B
Plaintext
Raw Normal View History

error[E0005]: refutable pattern in local binding: `Err(_)` not covered
--> $DIR/feature-gate-exhaustive-patterns.rs:16:9
|
2018-02-28 11:26:51 -06:00
LL | let Ok(_x) = foo(); //~ ERROR refutable pattern in local binding
| ^^^^^^ pattern `Err(_)` not covered
2018-02-28 23:54:20 -06:00
error: aborting due to previous error
If you want more information on this error, try using "rustc --explain E0005"