pubtraitExiter{fnexit(&mutself);}#[cfg(test)]modtest{usesuper::*;#[test]fnboxability(){// It is useful to be able to store exiters, which for practical purposes requires boxing.
// So test that boxing is possible and not difficult.
fn_test<E:'static+ Exiter>(exiter: E){let_:Box<_>=Box::new(exiter);}}}