1 error[E0004]: non-exhaustive patterns: `_` not covered
2 --> $DIR/feature-gate-precise_pointer_size_matching.rs:2:11
5 | ^^^^^^ pattern `_` not covered
7 = note: the matched value is of type `usize`
8 = note: `usize` does not have a fixed maximum value, so a wildcard `_` is necessary to match exhaustively
9 = help: add `#![feature(precise_pointer_size_matching)]` to the crate attributes to enable precise `usize` matching
10 help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
12 LL ~ 0..=usize::MAX => {}
16 error[E0004]: non-exhaustive patterns: `_` not covered
17 --> $DIR/feature-gate-precise_pointer_size_matching.rs:10:11
20 | ^^^^^^ pattern `_` not covered
22 = note: the matched value is of type `isize`
23 = note: `isize` does not have a fixed maximum value, so a wildcard `_` is necessary to match exhaustively
24 = help: add `#![feature(precise_pointer_size_matching)]` to the crate attributes to enable precise `isize` matching
25 help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
27 LL ~ isize::MIN..=isize::MAX => {}
31 error: aborting due to 2 previous errors
33 For more information about this error, try `rustc --explain E0004`.