cxx/tests/ui/enum_match_without_wildcard.stderr
2020-07-21 17:58:14 -07:00

12 lines
447 B
Plaintext

error[E0004]: non-exhaustive patterns: `A { repr: 2_u8..=u8::MAX }` not covered
--> $DIR/enum_match_without_wildcard.rs:12:11
|
1 | #[cxx::bridge]
| -------------- `ffi::A` defined here
...
12 | match a {
| ^ pattern `A { repr: 2_u8..=u8::MAX }` not covered
|
= help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
= note: the matched value is of type `ffi::A`