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>