1
Fork 0

Add existential type definitons

This commit is contained in:
Oliver Schneider 2018-05-22 14:31:56 +02:00
parent c131bdcaff
commit 9b1bd94e37
44 changed files with 583 additions and 288 deletions

View file

@ -2897,7 +2897,7 @@ impl Clean<Type> for hir::Ty {
}
}
TyBareFn(ref barefn) => BareFunction(box barefn.clean(cx)),
TyImplTraitExistential(ref exist_ty, ref _lts) => ImplTrait(exist_ty.bounds.clean(cx)),
TyImplTraitExistential(ref exist_ty, _, _) => ImplTrait(exist_ty.bounds.clean(cx)),
TyInfer | TyErr => Infer,
TyTypeof(..) => panic!("Unimplemented type {:?}", self.node),
}