crown: fix build for rust 1.82 on musl (#34307)

Signed-off-by: LN Liberda <lauren@selfisekai.rocks>
This commit is contained in:
LN Liberda 2024-11-20 16:32:39 +01:00 committed by GitHub
parent c8626985ca
commit 06dce314f8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -146,7 +146,7 @@ fn is_unrooted_ty<'tcx>(
}, },
ty::Ref(..) => false, // don't recurse down &ptrs ty::Ref(..) => false, // don't recurse down &ptrs
ty::RawPtr(..) => false, // don't recurse down *ptrs ty::RawPtr(..) => false, // don't recurse down *ptrs
ty::FnDef(..) | ty::FnPtr(_) => false, ty::FnDef(..) | ty::FnPtr(..) => false,
ty::Alias( ty::Alias(
ty::AliasTyKind::Projection | ty::AliasTyKind::Inherent | ty::AliasTyKind::Weak, ty::AliasTyKind::Projection | ty::AliasTyKind::Inherent | ty::AliasTyKind::Weak,
ty, ty,