fn item_variants( w: &mut Buffer, cx: &mut Context<'_>, it: &Item, variants: &IndexVec<VariantIdx, Item>, enum_def_id: DefId, )