fork/rust

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

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

1.39.0
1.3 KiB27 linesraw
1error[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
3   |
4LL | const X: i32 = { let 0 = 0; 0 };
5   |                      ^ patterns `std::i32::MIN..=-1i32` and `1i32..=std::i32::MAX` not covered
6
7error[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
9   |
10LL | static Y: i32 = { let 0 = 0; 0 };
11   |                       ^ patterns `std::i32::MIN..=-1i32` and `1i32..=std::i32::MAX` not covered
12
13error[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
15   |
16LL |     const X: i32 = { let 0 = 0; 0 };
17   |                          ^ patterns `std::i32::MIN..=-1i32` and `1i32..=std::i32::MAX` not covered
18
19error[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
21   |
22LL |     const X: i32 = { let 0 = 0; 0 };
23   |                          ^ patterns `std::i32::MIN..=-1i32` and `1i32..=std::i32::MAX` not covered
24
25error: aborting due to 4 previous errors
26
27For more information about this error, try `rustc --explain E0005`.