You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tests/ui/feature-gates/feature-gate-precise_pointer_size_matching.stderr
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,7 @@ LL | match 0isize {
19
19
| ^^^^^^ patterns `..isize::MIN` and `isize::MAX..` not covered
20
20
|
21
21
= note: the matched value is of type `isize`
22
-
= note: The minimum and maximum values of `isize` are not directly accessible, so half-open ranges are necessary to match exhaustively
22
+
= note: `isize::MIN` and `isize::MAX` are not accessible as fixed values, so half-open ranges are necessary to match exhaustively
23
23
help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern, a match arm with multiple or-patterns as shown, or multiple match arms
Copy file name to clipboardExpand all lines: tests/ui/pattern/usefulness/integer-ranges/pointer-sized-int.deny.stderr
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,7 @@ LL | match 0isize {
19
19
| ^^^^^^ patterns `..isize::MIN` and `isize::MAX..` not covered
20
20
|
21
21
= note: the matched value is of type `isize`
22
-
= note: The minimum and maximum values of `isize` are not directly accessible, so half-open ranges are necessary to match exhaustively
22
+
= note: `isize::MIN` and `isize::MAX` are not accessible as fixed values, so half-open ranges are necessary to match exhaustively
23
23
help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern, a match arm with multiple or-patterns as shown, or multiple match arms
| ^^^^^^ patterns `..isize::MIN` and `isize::MAX..` not covered
86
86
|
87
87
= note: the matched value is of type `isize`
88
-
= note: The minimum and maximum values of `isize` are not directly accessible, so half-open ranges are necessary to match exhaustively
88
+
= note: `isize::MIN` and `isize::MAX` are not accessible as fixed values, so half-open ranges are necessary to match exhaustively
89
89
help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern, a match arm with multiple or-patterns as shown, or multiple match arms
| ^^^^^^ patterns `..isize::MIN` and `isize::MAX..` not covered
99
99
|
100
100
= note: the matched value is of type `isize`
101
-
= note: The minimum and maximum values of `isize` are not directly accessible, so half-open ranges are necessary to match exhaustively
101
+
= note: `isize::MIN` and `isize::MAX` are not accessible as fixed values, so half-open ranges are necessary to match exhaustively
102
102
help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern, a match arm with multiple or-patterns as shown, or multiple match arms
| ^^^^^^ patterns `..isize::MIN` and `isize::MAX..` not covered
112
112
|
113
113
= note: the matched value is of type `isize`
114
-
= note: The minimum and maximum values of `isize` are not directly accessible, so half-open ranges are necessary to match exhaustively
114
+
= note: `isize::MIN` and `isize::MAX` are not accessible as fixed values, so half-open ranges are necessary to match exhaustively
115
115
help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern, a match arm with multiple or-patterns as shown, or multiple match arms
| ^^^^^^ patterns `..isize::MIN` and `isize::MAX..` not covered
125
125
|
126
126
= note: the matched value is of type `isize`
127
-
= note: The minimum and maximum values of `isize` are not directly accessible, so half-open ranges are necessary to match exhaustively
127
+
= note: `isize::MIN` and `isize::MAX` are not accessible as fixed values, so half-open ranges are necessary to match exhaustively
128
128
help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern, a match arm with multiple or-patterns as shown, or multiple match arms
| ^^^^^^^^^^^^^^ patterns `(..isize::MIN, _)` and `(isize::MAX.., _)` not covered
138
138
|
139
139
= note: the matched value is of type `(isize, bool)`
140
-
= note: The minimum and maximum values of `isize` are not directly accessible, so half-open ranges are necessary to match exhaustively
140
+
= note: `isize::MIN` and `isize::MAX` are not accessible as fixed values, so half-open ranges are necessary to match exhaustively
141
141
help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern, a match arm with multiple or-patterns as shown, or multiple match arms
Copy file name to clipboardExpand all lines: tests/ui/pattern/usefulness/integer-ranges/precise_pointer_matching-message.stderr
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,7 @@ LL | match 0isize {
19
19
| ^^^^^^ patterns `..isize::MIN` and `isize::MAX..` not covered
20
20
|
21
21
= note: the matched value is of type `isize`
22
-
= note: The minimum and maximum values of `isize` are not directly accessible, so half-open ranges are necessary to match exhaustively
22
+
= note: `isize::MIN` and `isize::MAX` are not accessible as fixed values, so half-open ranges are necessary to match exhaustively
23
23
help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern, a match arm with multiple or-patterns as shown, or multiple match arms
Copy file name to clipboardExpand all lines: tests/ui/pattern/usefulness/issue-85222-types-containing-non-exhaustive-types.stderr
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -33,7 +33,7 @@ LL | match (0isize, 0usize) {
33
33
| ^^^^^^^^^^^^^^^^ patterns `(..isize::MIN, _)` and `(isize::MAX.., _)` not covered
34
34
|
35
35
= note: the matched value is of type `(isize, usize)`
36
-
= note: The minimum and maximum values of `isize` are not directly accessible, so half-open ranges are necessary to match exhaustively
36
+
= note: `isize::MIN` and `isize::MAX` are not accessible as fixed values, so half-open ranges are necessary to match exhaustively
37
37
help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern, a match arm with multiple or-patterns as shown, or multiple match arms
@@ -131,7 +131,7 @@ note: `B<isize, usize>` defined here
131
131
LL | struct B<T, U>(T, U);
132
132
| ^
133
133
= note: the matched value is of type `B<isize, usize>`
134
-
= note: The minimum and maximum values of `isize` are not directly accessible, so half-open ranges are necessary to match exhaustively
134
+
= note: `isize::MIN` and `isize::MAX` are not accessible as fixed values, so half-open ranges are necessary to match exhaustively
135
135
help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern, a match arm with multiple or-patterns as shown, or multiple match arms
0 commit comments