Browsing through docs I saw some weird trait implementations, for example:
impl From<Infallible> for TryFromIntError {
fn from(x: Infallible) -> TryFromIntError {
match x {}
}
}
I know it could be place somewhere where we need TryFromIntError, but at the same time it will never get invoked. It looks like it's there because of some generics requirements (?), but I can't think of proper, logical usage of it. I don't want to use it, just want to know the philosophy behind this.