pub(crate) fn parse_variant(cx: &mut ParseCtxt<'_>) -> ParseResult<VariantDef>
Expand description
⟨variant⟩ := ⟨fields⟩ -> ⟨variant_ret⟩
| ⟨fields⟩
| ⟨variant_ret⟩
pub(crate) fn parse_variant(cx: &mut ParseCtxt<'_>) -> ParseResult<VariantDef>
⟨variant⟩ := ⟨fields⟩ -> ⟨variant_ret⟩
| ⟨fields⟩
| ⟨variant_ret⟩