]> git.proxmox.com Git - rustc.git/blob - src/test/ui/consts/const-match-check.matchck.stderr
New upstream version 1.39.0+dfsg1
[rustc.git] / src / test / ui / consts / const-match-check.matchck.stderr
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
3 |
4 LL | const X: i32 = { let 0 = 0; 0 };
5 | ^ patterns `std::i32::MIN..=-1i32` and `1i32..=std::i32::MAX` not covered
6
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
9 |
10 LL | static Y: i32 = { let 0 = 0; 0 };
11 | ^ patterns `std::i32::MIN..=-1i32` and `1i32..=std::i32::MAX` not covered
12
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
15 |
16 LL | const X: i32 = { let 0 = 0; 0 };
17 | ^ patterns `std::i32::MIN..=-1i32` and `1i32..=std::i32::MAX` not covered
18
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
21 |
22 LL | const X: i32 = { let 0 = 0; 0 };
23 | ^ patterns `std::i32::MIN..=-1i32` and `1i32..=std::i32::MAX` not covered
24
25 error: aborting due to 4 previous errors
26
27 For more information about this error, try `rustc --explain E0005`.