parse-display 0.11.0

Procedural macro to implement Display and FromStr using common settings.
Documentation
1
2
3
4
5
6
7
8
error[E0277]: the trait bound `&'static str: FromStrFormat<u8>` is not satisfied
 --> tests/compile_fail/from_str/invalid_with.rs:5:23
  |
5 |     #[from_str(with = "not impl FromStrFormat")]
  |                       ^^^^^^^^^^^^^^^^^^^^^^^^ the trait `FromStrFormat<u8>` is not implemented for `&'static str`
  |
  = help: the trait `FromStrFormat<T>` is implemented for `RegexInfer`
  = note: required for the cast from `&&'static str` to `&dyn FromStrFormat<u8, Err = _>`