1 // This tests that the lint message explains the reason for the error.
4 //~^ ERROR non-exhaustive patterns: `_` not covered
5 //~| NOTE pattern `_` not covered
6 //~| NOTE the matched value is of type `usize`
7 //~| NOTE `usize` does not have a fixed maximum value
12 //~^ ERROR non-exhaustive patterns: `_` not covered
13 //~| NOTE pattern `_` not covered
14 //~| NOTE the matched value is of type `isize`
15 //~| NOTE `isize` does not have a fixed maximum value
16 isize::MIN..=isize::MAX => {}