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