We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Unpin
1 parent eaf8f77 commit 24f6dfaCopy full SHA for 24f6dfa
compiler/rustc_middle/src/ty/util.rs
@@ -1214,6 +1214,7 @@ impl<'tcx> Ty<'tcx> {
1214
ty::Tuple(fields) => fields.iter().all(Self::is_trivially_unpin),
1215
ty::Pat(ty, _) | ty::Slice(ty) | ty::Array(ty, _) => ty.is_trivially_unpin(),
1216
ty::Adt(..)
1217
+ | ty::Field(..)
1218
| ty::Bound(..)
1219
| ty::Closure(..)
1220
| ty::CoroutineClosure(..)
0 commit comments