blob: 85cc0c551f389fc6a79acd70aa96cc3263a1a903 [file] [log] [blame]
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`