1 2 3 4 5 6 7 8
// This macro only works on main function. use termination::display; #[display] struct Main {} fn main() {}