pub fn parse_legacy_vector_inner<'a, T, E>(
    s: &'a str,
    gen_elem: impl FnMut(Cow<'a, str>) -> Result<T, E>
) -> Result<Vec<T>, String> where
    E: Display