fork/rust

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

borsAuto merge of #69854 - pietroalbini:stable-next, r=Centrilb8cedc00407

1.42.0
1.3 KiB33 linesraw
1error[E0004]: non-exhaustive patterns: `(2u8..=std::u8::MAX, _)` not covered
2  --> $DIR/exhaustiveness-non-exhaustive.rs:14: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:18: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:22: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: or-patterns are not fully implemented yet
26  --> $DIR/exhaustiveness-non-exhaustive.rs:10:10
27   |
28LL |         (0 | _,) => {}
29   |          ^^^^^
30
31error: aborting due to 4 previous errors
32
33For more information about this error, try `rustc --explain E0004`.