diff options
Diffstat (limited to 'src/test/ui/feature-gates/feature-gate-precise_pointer_size_matching.rs')
-rw-r--r-- | src/test/ui/feature-gates/feature-gate-precise_pointer_size_matching.rs | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/test/ui/feature-gates/feature-gate-precise_pointer_size_matching.rs b/src/test/ui/feature-gates/feature-gate-precise_pointer_size_matching.rs deleted file mode 100644 index 4c77180b7..000000000 --- a/src/test/ui/feature-gates/feature-gate-precise_pointer_size_matching.rs +++ /dev/null @@ -1,17 +0,0 @@ -fn main() { - match 0usize { - //~^ ERROR non-exhaustive patterns: `_` not covered - //~| NOTE pattern `_` not covered - //~| NOTE the matched value is of type `usize` - //~| NOTE `usize` does not have a fixed maximum value - 0..=usize::MAX => {} - } - - match 0isize { - //~^ ERROR non-exhaustive patterns: `_` not covered - //~| NOTE pattern `_` not covered - //~| NOTE the matched value is of type `isize` - //~| NOTE `isize` does not have a fixed maximum value - isize::MIN..=isize::MAX => {} - } -} |