rustc_transmute::layout::tree::rustc

Function ty_variant

Source
fn ty_variant<'tcx>(
    cx: LayoutCx<'tcx>,
    (ty, layout): (Ty<'tcx>, Layout<'tcx>),
    i: VariantIdx,
) -> Layout<'tcx>