error[E0277]: a value of type `HashMap` cannot be built from an iterator over elements of type `i32` --> $DIR/07-hashmap.rs:5:16 | 5 | #[derive(From, FromStr)] | ^^^^^^^ value of type `HashMap` cannot be built from `std::iter::Iterator` | = help: the trait `FromIterator` is not implemented for `HashMap` = note: required because of the requirements on the impl of `FromIterator>` for `Result, ParseIntError>` = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)