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
-2
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,6 @@ LL | match 0usize {
6
6
|
7
7
= note: the matched value is of type `usize`
8
8
= note: `usize` does not have a fixed maximum value, so half-open ranges are necessary to match exhaustively
9
-
= help: add `#![feature(precise_pointer_size_matching)]` to the crate attributes to enable precise `usize` matching
10
9
help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
11
10
|
12
11
LL ~ 0..=usize::MAX => {},
@@ -21,7 +20,6 @@ LL | match 0isize {
21
20
|
22
21
= note: the matched value is of type `isize`
23
22
= note: `isize` does not have fixed minimum and maximum values, so half-open ranges are necessary to match exhaustively
24
-
= help: add `#![feature(precise_pointer_size_matching)]` to the crate attributes to enable precise `isize` matching
25
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
0 commit comments