]> git.lizzy.rs Git - rust.git/blob - src/test/ui/consts/const-match-check.matchck.stderr
Rollup merge of #53317 - estebank:abolish-ice, r=oli-obk
[rust.git] / src / test / ui / consts / const-match-check.matchck.stderr
1 error[E0005]: refutable pattern in local binding: `_` not covered
2   --> $DIR/const-match-check.rs:14:22
3    |
4 LL | const X: i32 = { let 0 = 0; 0 };
5    |                      ^ pattern `_` not covered
6
7 error[E0005]: refutable pattern in local binding: `_` not covered
8   --> $DIR/const-match-check.rs:18:23
9    |
10 LL | static Y: i32 = { let 0 = 0; 0 };
11    |                       ^ pattern `_` not covered
12
13 error[E0005]: refutable pattern in local binding: `_` not covered
14   --> $DIR/const-match-check.rs:23:26
15    |
16 LL |     const X: i32 = { let 0 = 0; 0 };
17    |                          ^ pattern `_` not covered
18
19 error[E0005]: refutable pattern in local binding: `_` not covered
20   --> $DIR/const-match-check.rs:29:26
21    |
22 LL |     const X: i32 = { let 0 = 0; 0 };
23    |                          ^ pattern `_` not covered
24
25 error: aborting due to 4 previous errors
26
27 For more information about this error, try `rustc --explain E0005`.