use derive_more_more::FromIterator; #[derive(FromIterator)] enum Enum { Rar, } fn main() {}