fwd/vendor/cxx/tests/ui/enum_match_without_wildcard.stderr
John Doty 9c435dc440 Vendor dependencies
Let's see how I like this workflow.
2022-12-19 08:38:22 -08:00

17 lines
641 B
Text

error[E0004]: non-exhaustive patterns: `ffi::A { repr: 2_u8..=u8::MAX }` not covered
--> tests/ui/enum_match_without_wildcard.rs:12:11
|
12 | match a {
| ^ pattern `ffi::A { repr: 2_u8..=u8::MAX }` not covered
|
note: `ffi::A` defined here
--> tests/ui/enum_match_without_wildcard.rs:3:10
|
3 | enum A {
| ^
= note: the matched value is of type `ffi::A`
help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
|
14 ~ ffi::A::FieldB => 2021,
15 ~ ffi::A { repr: 2_u8..=u8::MAX } => todo!(),
|