pub(crate) fn parse_yes_or_no_with_reason(
cx: &mut ParseCtxt<'_>,
) -> ParseResult<bool>
Expand description
yes ⟨ , reason = ⟨literal⟩ ⟩?
| no ⟨ , reason = ⟨literal⟩ ⟩?
| reason = ⟨literal⟩
pub(crate) fn parse_yes_or_no_with_reason(
cx: &mut ParseCtxt<'_>,
) -> ParseResult<bool>
yes ⟨ , reason = ⟨literal⟩ ⟩?
| no ⟨ , reason = ⟨literal⟩ ⟩?
| reason = ⟨literal⟩