error[E0277]: the trait bound `Option: FromStr` is not satisfied --> tests/ui/env_option_too_many_options.rs:4:26 | 4 | pub optional: Option> | ^^^^^^^^^^^^^^ the trait `FromStr` is not implemented for `Option` | = help: the following other types implement trait `FromStr`: IpAddr Ipv4Addr Ipv6Addr NonZero NonZero NonZero NonZero NonZero and $N others error[E0277]: the trait bound `Option: FromStr` is not satisfied --> tests/ui/env_option_too_many_options.rs:1:38 | 1 | #[derive(partial_config::HasPartial, partial_config::EnvSourced)] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `FromStr` is not implemented for `Option` | = help: the following other types implement trait `FromStr`: IpAddr Ipv4Addr Ipv6Addr NonZero NonZero NonZero NonZero NonZero and $N others = note: this error originates in the derive macro `partial_config::EnvSourced` (in Nightly builds, run with -Z macro-backtrace for more info)