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

10 lines
359 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
2018-03-14 00:31:02 -05:00
For more information about this error, try `rustc --explain E0005`.