fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0004]: non-exhaustive patterns: `_` not covered 2 --> $DIR/precise_pointer_matching-message.rs:3:11 3 | 4LL | match 0usize { 5 | ^^^^^^ pattern `_` not covered 6 | 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 10help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown 11 | 12LL ~ 0..=usize::MAX => {}, 13LL + _ => todo!() 14 | 15 16error[E0004]: non-exhaustive patterns: `_` not covered 17 --> $DIR/precise_pointer_matching-message.rs:11:11 18 | 19LL | match 0isize { 20 | ^^^^^^ pattern `_` not covered 21 | 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 25help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown 26 | 27LL ~ isize::MIN..=isize::MAX => {}, 28LL + _ => todo!() 29 | 30 31error: aborting due to 2 previous errors 32 33For more information about this error, try `rustc --explain E0004`.