I want to use this in conjunction with structopt, whose derive macro expands to this:
.validator(|s| {
::std::str::FromStr::from_str(s.as_str())
.map(|_: Eval| ())
.map_err(|e| e.to_string())
})
Obviously this won't work as the default error type () doesn't implement Display.