]> git.lizzy.rs Git - rust.git/blob - src/test/ui/empty/empty-never-array.stderr
Rollup merge of #58629 - euclio:debug-empty-str, r=alexcrichton
[rust.git] / src / test / ui / empty / empty-never-array.stderr
1 error[E0005]: refutable pattern in local binding: `T(_, _)` not covered
2   --> $DIR/empty-never-array.rs:10:9
3    |
4 LL | / enum Helper<T, U> {
5 LL | |     T(T, [!; 0]),
6 LL | |     #[allow(dead_code)]
7 LL | |     U(U),
8 LL | | }
9    | |_- `Helper<T, U>` defined here
10 ...
11 LL |       let Helper::U(u) = Helper::T(t, []);
12    |           ^^^^^^^^^^^^ pattern `T(_, _)` not covered
13
14 error: aborting due to previous error
15
16 For more information about this error, try `rustc --explain E0005`.