fork/rust

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

borsAuto merge of #71868 - Mark-Simulacrum:stable-1.43.1, r=pietroalbini8d69840ab92

1.43.1
847 B25 linesraw
1error[E0004]: non-exhaustive patterns: `(Some(&[]), Err(_))` not covered
2  --> $DIR/non-exhaustive-match-nested.rs:5:11
3   |
4LL |     match (l1, l2) {
5   |           ^^^^^^^^ pattern `(Some(&[]), Err(_))` 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: `A(C)` not covered
10  --> $DIR/non-exhaustive-match-nested.rs:15:11
11   |
12LL | enum T { A(U), B }
13   | ------------------
14   | |        |
15   | |        not covered
16   | `T` defined here
17...
18LL |     match x {
19   |           ^ pattern `A(C)` not covered
20   |
21   = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
22
23error: aborting due to 2 previous errors
24
25For more information about this error, try `rustc --explain E0004`.