pub fn invalid_length<S>(type_name: S, length: usize) -> CodeParseErrorwhere
    S: Into<String>,