1
Fork 0

Introduce TyKind::Placeholder variant

This commit is contained in:
scalexm 2018-11-02 18:48:24 +01:00
parent 7401e3def5
commit 05995a8522
30 changed files with 46 additions and 13 deletions

View file

@ -2744,6 +2744,7 @@ impl<'tcx> Clean<Type> for Ty<'tcx> {
ty::Closure(..) | ty::Generator(..) => Tuple(vec![]), // FIXME(pcwalton)
ty::Bound(..) => panic!("Bound"),
ty::Placeholder(..) => panic!("Placeholder"),
ty::UnnormalizedProjection(..) => panic!("UnnormalizedProjection"),
ty::GeneratorWitness(..) => panic!("GeneratorWitness"),
ty::Infer(..) => panic!("Infer"),