pub fn invalid_character<S, C>(type_name: S, c: C) -> CodeParseErrorwhere
    S: Into<String>,
    C: Into<char>,