rustc_ty_utils::needs_drop

Function has_significant_drop_raw

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