1 2 3 4 5 6 7 8 9
// ! (never) type is supported implicitly. // If main never returns, it means that macro generated code is likely to be stripped out. use termination::display; #[display] fn main() -> ! { std::process::exit(0); }