fork/rust

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

borsAuto merge of #66089 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4560ea788cb

1.39.0
489 B14 linesraw
1error[E0004]: non-exhaustive patterns: `Foo(_, _)` not covered
2  --> $DIR/tuple-struct-nonexhaustive.rs:5:11
3   |
4LL | struct Foo(isize, isize);
5   | ------------------------- `Foo` defined here
6...
7LL |     match x {
8   |           ^ pattern `Foo(_, _)` not covered
9   |
10   = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
11
12error: aborting due to previous error
13
14For more information about this error, try `rustc --explain E0004`.