]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_trait_selection/src/traits/query/dropck_outlives.rs
Auto merge of #105221 - alex:fat-archive-cleanup, r=bjorn3
[rust.git] / compiler / rustc_trait_selection / src / traits / query / dropck_outlives.rs
index aad3c37f84e5a783250e31ad60ad9d512a103c47..0f21813bc40ae1a85dfd1185f7199ecd2eec708a 100644 (file)
@@ -62,9 +62,8 @@ pub fn trivial_dropck_outlives<'tcx>(tcx: TyCtxt<'tcx>, ty: Ty<'tcx>) -> bool {
 
         // The following *might* require a destructor: needs deeper inspection.
         ty::Dynamic(..)
-        | ty::Projection(..)
+        | ty::Alias(..)
         | ty::Param(_)
-        | ty::Opaque(..)
         | ty::Placeholder(..)
         | ty::Infer(_)
         | ty::Bound(..)