You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Once exhaustive integer matching has been stabilised, we'll be getting errors like this:
error[E0004]: non-exhaustive patterns: `-2147483648i32..=0i32` and `2i32..=2147483647i32` not covered
--> src/main.rs:5:11
|
5 | match 0i32 {
| ^^^^ patterns `-2147483648i32..=0i32` and `2i32..=2147483647i32` not covered
It would be nicer to display these as ::std::i32::MIN (or ::core, etc.) instead (or provide a hint telling the user this).