mirror of
https://github.com/topjohnwu/cxx.git
synced 2025-02-24 10:03:39 +00:00
12 lines
447 B
Plaintext
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`
|