fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #71365 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4fb7144ed15

1.43.0
1.1 KiB27 linesraw
1error[E0004]: non-exhaustive patterns: `(2u8..=std::u8::MAX, _)` not covered
2  --> $DIR/exhaustiveness-non-exhaustive.rs:6:11
3   |
4LL |     match (0u8, 0u8) {
5   |           ^^^^^^^^^^ pattern `(2u8..=std::u8::MAX, _)` not covered
6   |
7   = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
8
9error[E0004]: non-exhaustive patterns: `((4u8..=std::u8::MAX))` not covered
10  --> $DIR/exhaustiveness-non-exhaustive.rs:10:11
11   |
12LL |     match ((0u8,),) {
13   |           ^^^^^^^^^ pattern `((4u8..=std::u8::MAX))` not covered
14   |
15   = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
16
17error[E0004]: non-exhaustive patterns: `(Some(2u8..=std::u8::MAX))` not covered
18  --> $DIR/exhaustiveness-non-exhaustive.rs:14:11
19   |
20LL |     match (Some(0u8),) {
21   |           ^^^^^^^^^^^^ pattern `(Some(2u8..=std::u8::MAX))` not covered
22   |
23   = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
24
25error: aborting due to 3 previous errors
26
27For more information about this error, try `rustc --explain E0004`.