rustc_mir_transform::remove_uninit_drops

Function variant_needs_drop

Source
fn variant_needs_drop<'tcx>(
    tcx: TyCtxt<'tcx>,
    typing_env: TypingEnv<'tcx>,
    args: GenericArgsRef<'tcx>,
    variant: &VariantDef,
) -> bool