rustc_ty_utils::needs_drop

Function has_significant_drop_raw

Source
fn has_significant_drop_raw<'tcx>(
    tcx: TyCtxt<'tcx>,
    query: ParamEnvAnd<'tcx, Ty<'tcx>>,
) -> bool