1
Fork 0
rust/src/test/ui/structs/struct-like-enum-nonexhaustive.stderr

10 lines
344 B
Text
Raw Normal View History

2018-08-08 14:28:26 +02:00
error[E0004]: non-exhaustive patterns: `B { x: Some(_) }` not covered
2018-12-25 08:56:47 -07:00
--> $DIR/struct-like-enum-nonexhaustive.rs:8:11
2018-08-08 14:28:26 +02:00
|
LL | match x { //~ ERROR non-exhaustive patterns
| ^ pattern `B { x: Some(_) }` not covered
error: aborting due to previous error
For more information about this error, try `rustc --explain E0004`.