1 2 3 4 5 6 7 8
pub enum Test { //~ HELP consider adding a derive #[default] //~^ ERROR cannot find attribute `default` in this scope First, Second, } fn main() {}