1 error[E0005]: refutable pattern in local binding: `std::i32::MIN..=-1i32` and `1i32..=std::i32::MAX` not covered
2 --> $DIR/const-match-check.rs:4:22
4 LL | const X: i32 = { let 0 = 0; 0 };
5 | ^ patterns `std::i32::MIN..=-1i32` and `1i32..=std::i32::MAX` not covered
7 error[E0005]: refutable pattern in local binding: `std::i32::MIN..=-1i32` and `1i32..=std::i32::MAX` not covered
8 --> $DIR/const-match-check.rs:8:23
10 LL | static Y: i32 = { let 0 = 0; 0 };
11 | ^ patterns `std::i32::MIN..=-1i32` and `1i32..=std::i32::MAX` not covered
13 error[E0005]: refutable pattern in local binding: `std::i32::MIN..=-1i32` and `1i32..=std::i32::MAX` not covered
14 --> $DIR/const-match-check.rs:13:26
16 LL | const X: i32 = { let 0 = 0; 0 };
17 | ^ patterns `std::i32::MIN..=-1i32` and `1i32..=std::i32::MAX` not covered
19 error[E0005]: refutable pattern in local binding: `std::i32::MIN..=-1i32` and `1i32..=std::i32::MAX` not covered
20 --> $DIR/const-match-check.rs:19:26
22 LL | const X: i32 = { let 0 = 0; 0 };
23 | ^ patterns `std::i32::MIN..=-1i32` and `1i32..=std::i32::MAX` not covered
25 error: aborting due to 4 previous errors
27 For more information about this error, try `rustc --explain E0005`.