pub fn needs_drop_components<'tcx>( tcx: TyCtxt<'tcx>, ty: Ty<'tcx> ) -> Result<SmallVec<[Ty<'tcx>; 2]>, AlwaysRequiresDrop>
Returns a list of types such that the given type needs drop if and only if
any of the returned types need drop. Returns
this type always needs drop.