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
2
2
--> $DIR/const-match-check.rs:4:22
3
3
|
4
4
LL | 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
6
6
|
7
7
= note: `let` bindings require an "irrefutable pattern", like a `struct` or an `enum` with only one variant
8
8
= 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
12
12
LL | const X: i32 = { if let 0 = 0 { /* */ } 0 };
13
13
| ^^^^^^^^^^^^^^^^^^^^^^
14
14
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
16
16
--> $DIR/const-match-check.rs:8:23
17
17
|
18
18
LL | 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
20
20
|
21
21
= note: `let` bindings require an "irrefutable pattern", like a `struct` or an `enum` with only one variant
22
22
= 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
26
26
LL | static Y: i32 = { if let 0 = 0 { /* */ } 0 };
27
27
| ^^^^^^^^^^^^^^^^^^^^^^
28
28
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
30
30
--> $DIR/const-match-check.rs:13:26
31
31
|
32
32
LL | 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
34
34
|
35
35
= note: `let` bindings require an "irrefutable pattern", like a `struct` or an `enum` with only one variant
36
36
= 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
40
40
LL | const X: i32 = { if let 0 = 0 { /* */ } 0 };
41
41
| ^^^^^^^^^^^^^^^^^^^^^^
42
42
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
44
44
--> $DIR/const-match-check.rs:19:26
45
45
|
46
46
LL | 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
48
48
|
49
49
= note: `let` bindings require an "irrefutable pattern", like a `struct` or an `enum` with only one variant
50
50
= note: for more information, visit https://doc.rust-lang.org/book/ch18-02-refutability.html
0 commit comments