fork/rust

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

borsAuto merge of #67350 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum73528e339aa

1.40.0
3.2 KiB73 linesraw
1error[E0004]: non-exhaustive patterns: `(B, _)`, `(C, _)`, `(D, _)` and 2 more not covered
2  --> $DIR/issue-35609.rs:10:11
3   |
4LL |     match (A, ()) {
5   |           ^^^^^^^ patterns `(B, _)`, `(C, _)`, `(D, _)` and 2 more 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: `(_, B)`, `(_, C)`, `(_, D)` and 2 more not covered
10  --> $DIR/issue-35609.rs:14:11
11   |
12LL |     match (A, A) {
13   |           ^^^^^^ patterns `(_, B)`, `(_, C)`, `(_, D)` and 2 more 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: `((B, _), _)`, `((C, _), _)`, `((D, _), _)` and 2 more not covered
18  --> $DIR/issue-35609.rs:18:11
19   |
20LL |     match ((A, ()), ()) {
21   |           ^^^^^^^^^^^^^ patterns `((B, _), _)`, `((C, _), _)`, `((D, _), _)` and 2 more not covered
22   |
23   = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
24
25error[E0004]: non-exhaustive patterns: `((B, _), _)`, `((C, _), _)`, `((D, _), _)` and 2 more not covered
26  --> $DIR/issue-35609.rs:22:11
27   |
28LL |     match ((A, ()), A) {
29   |           ^^^^^^^^^^^^ patterns `((B, _), _)`, `((C, _), _)`, `((D, _), _)` and 2 more not covered
30   |
31   = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
32
33error[E0004]: non-exhaustive patterns: `((B, _), _)`, `((C, _), _)`, `((D, _), _)` and 2 more not covered
34  --> $DIR/issue-35609.rs:26:11
35   |
36LL |     match ((A, ()), ()) {
37   |           ^^^^^^^^^^^^^ patterns `((B, _), _)`, `((C, _), _)`, `((D, _), _)` and 2 more not covered
38   |
39   = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
40
41error[E0004]: non-exhaustive patterns: `S(B, _)`, `S(C, _)`, `S(D, _)` and 2 more not covered
42  --> $DIR/issue-35609.rs:31:11
43   |
44LL | struct S(Enum, ());
45   | ------------------- `S` defined here
46...
47LL |     match S(A, ()) {
48   |           ^^^^^^^^ patterns `S(B, _)`, `S(C, _)`, `S(D, _)` and 2 more not covered
49   |
50   = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
51
52error[E0004]: non-exhaustive patterns: `Sd { x: B, .. }`, `Sd { x: C, .. }`, `Sd { x: D, .. }` and 2 more not covered
53  --> $DIR/issue-35609.rs:35:11
54   |
55LL | struct Sd { x: Enum, y: () }
56   | ---------------------------- `Sd` defined here
57...
58LL |     match (Sd { x: A, y: () }) {
59   |           ^^^^^^^^^^^^^^^^^^^^ patterns `Sd { x: B, .. }`, `Sd { x: C, .. }`, `Sd { x: D, .. }` and 2 more not covered
60   |
61   = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
62
63error[E0004]: non-exhaustive patterns: `Some(B)`, `Some(C)`, `Some(D)` and 2 more not covered
64  --> $DIR/issue-35609.rs:39:11
65   |
66LL |     match Some(A) {
67   |           ^^^^^^^ patterns `Some(B)`, `Some(C)`, `Some(D)` and 2 more not covered
68   |
69   = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
70
71error: aborting due to 8 previous errors
72
73For more information about this error, try `rustc --explain E0004`.