Skip to main content

drop_tys_helper

Function drop_tys_helper 

Source
fn drop_tys_helper<'tcx>(
    tcx: TyCtxt<'tcx>,
    ty: Ty<'tcx>,
    typing_env: TypingEnv<'tcx>,
    adt_has_dtor: impl Fn(AdtDef<'tcx>) -> Option<DtorType>,
    options: DropTysOptions,
) -> impl Iterator<Item = Result<Ty<'tcx>, AlwaysRequiresDrop>>