1- error[E0005]: refutable pattern in local binding: `std:: i32::MIN..=-1i32` and `1i32..=std:: i32::MAX` not covered
1+ error[E0005]: refutable pattern in local binding: `i32::MIN..=-1i32` and `1i32..=i32::MAX` not covered
22 --> $DIR/const-match-check.rs:4:22
33 |
44LL | const X: i32 = { let 0 = 0; 0 };
5- | ^ patterns `std:: i32::MIN..=-1i32` and `1i32..=std:: i32::MAX` not covered
5+ | ^ patterns `i32::MIN..=-1i32` and `1i32..=i32::MAX` not covered
66 |
77 = note: `let` bindings require an "irrefutable pattern", like a `struct` or an `enum` with only one variant
88 = note: for more information, visit https://doc.rust-lang.org/book/ch18-02-refutability.html
@@ -12,11 +12,11 @@ help: you might want to use `if let` to ignore the variant that isn't matched
1212LL | const X: i32 = { if let 0 = 0 { /* */ } 0 };
1313 | ^^^^^^^^^^^^^^^^^^^^^^
1414
15- error[E0005]: refutable pattern in local binding: `std:: i32::MIN..=-1i32` and `1i32..=std:: i32::MAX` not covered
15+ error[E0005]: refutable pattern in local binding: `i32::MIN..=-1i32` and `1i32..=i32::MAX` not covered
1616 --> $DIR/const-match-check.rs:8:23
1717 |
1818LL | static Y: i32 = { let 0 = 0; 0 };
19- | ^ patterns `std:: i32::MIN..=-1i32` and `1i32..=std:: i32::MAX` not covered
19+ | ^ patterns `i32::MIN..=-1i32` and `1i32..=i32::MAX` not covered
2020 |
2121 = note: `let` bindings require an "irrefutable pattern", like a `struct` or an `enum` with only one variant
2222 = note: for more information, visit https://doc.rust-lang.org/book/ch18-02-refutability.html
@@ -26,11 +26,11 @@ help: you might want to use `if let` to ignore the variant that isn't matched
2626LL | static Y: i32 = { if let 0 = 0 { /* */ } 0 };
2727 | ^^^^^^^^^^^^^^^^^^^^^^
2828
29- error[E0005]: refutable pattern in local binding: `std:: i32::MIN..=-1i32` and `1i32..=std:: i32::MAX` not covered
29+ error[E0005]: refutable pattern in local binding: `i32::MIN..=-1i32` and `1i32..=i32::MAX` not covered
3030 --> $DIR/const-match-check.rs:13:26
3131 |
3232LL | const X: i32 = { let 0 = 0; 0 };
33- | ^ patterns `std:: i32::MIN..=-1i32` and `1i32..=std:: i32::MAX` not covered
33+ | ^ patterns `i32::MIN..=-1i32` and `1i32..=i32::MAX` not covered
3434 |
3535 = note: `let` bindings require an "irrefutable pattern", like a `struct` or an `enum` with only one variant
3636 = note: for more information, visit https://doc.rust-lang.org/book/ch18-02-refutability.html
@@ -40,11 +40,11 @@ help: you might want to use `if let` to ignore the variant that isn't matched
4040LL | const X: i32 = { if let 0 = 0 { /* */ } 0 };
4141 | ^^^^^^^^^^^^^^^^^^^^^^
4242
43- error[E0005]: refutable pattern in local binding: `std:: i32::MIN..=-1i32` and `1i32..=std:: i32::MAX` not covered
43+ error[E0005]: refutable pattern in local binding: `i32::MIN..=-1i32` and `1i32..=i32::MAX` not covered
4444 --> $DIR/const-match-check.rs:19:26
4545 |
4646LL | const X: i32 = { let 0 = 0; 0 };
47- | ^ patterns `std:: i32::MIN..=-1i32` and `1i32..=std:: i32::MAX` not covered
47+ | ^ patterns `i32::MIN..=-1i32` and `1i32..=i32::MAX` not covered
4848 |
4949 = note: `let` bindings require an "irrefutable pattern", like a `struct` or an `enum` with only one variant
5050 = note: for more information, visit https://doc.rust-lang.org/book/ch18-02-refutability.html
0 commit comments