IAT: Introduce AliasKind::Inherent

This commit is contained in:
León Orell Valerian Liehr
2023-03-21 01:46:52 +01:00
parent 6f8c0557e0
commit e8139dfd5a
82 changed files with 1008 additions and 167 deletions

View File

@@ -673,7 +673,7 @@ impl<'tcx> TypeVisitor<TyCtxt<'tcx>> for OrphanChecker<'tcx> {
| ty::RawPtr(..)
| ty::Never
| ty::Tuple(..)
| ty::Alias(ty::Projection, ..) => self.found_non_local_ty(ty),
| ty::Alias(ty::Projection | ty::Inherent, ..) => self.found_non_local_ty(ty),
ty::Param(..) => self.found_param_ty(ty),