fn parse_fields<'input, 'state>(
    type_params: &HashSet<Ident, DeterministicState>,
    state: &'state State<'input>
) -> Result<ParsedFields<'input, 'state>>