1 use std::{usize, isize};
5 //~^ ERROR non-exhaustive patterns
6 //~| NOTE pattern `_` not covered
7 //~| NOTE the matched value is of type `usize`
8 //~| NOTE `usize` does not have a fixed maximum value
13 //~^ ERROR non-exhaustive patterns
14 //~| NOTE pattern `_` not covered
15 //~| NOTE the matched value is of type `isize`
16 //~| NOTE `isize` does not have a fixed maximum value
17 isize::MIN ..= isize::MAX => {}
21 //~^ ERROR non-exhaustive patterns
22 //~| NOTE the matched value is of type `usize`