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