TryFromIntError currently only outputs a generic
"out of range integral type conversion attempted" message (https://doc.rust-lang.org/src/core/num/error.rs.html#6-46), but it would often be useful to know what the original value was, to aid in debugging.
Example use cases:
i* -> u*: negative values represent special values, and knowing which one was there would be very useful for debugging
iX -> *Y(X > Y): distinguishing positive vs negative overflow
- (any): identifying where the value could have come from
Is there any reason the error messages for fallible integer conversions currently don't include the original value, or any other reasons not to include it?