1 2 3 4 5 6 7 8 9
use parse_display::FromStr; #[derive(FromStr, Debug, PartialEq)] struct X { #[from_str(with = "not impl FromStrFormat")] x: u8, } fn main() {}