rustc_mir_transform::unreachable_enum_branching

Function variant_discriminants

Source
fn variant_discriminants<'tcx>(
    layout: &TyAndLayout<'tcx>,
    ty: Ty<'tcx>,
    tcx: TyCtxt<'tcx>,
) -> FxHashSet<u128>