Derive macros for Rust's bottom type core::convert::Infallible.
This derive macro automatically generates From<Infallible>
implementation on the type:
#[derive(nevermore::FromNever)]
struct User {
name: String,
age: u8,
}
will generate something similar to
impl From<Infallible> for User {
fn from(infallible: Infallible) {
match infallible {}
}
}