Skip to content

Commit

Permalink
Fix ty::UnnormalizedProjection in rustdoc
Browse files Browse the repository at this point in the history
  • Loading branch information
scalexm committed Oct 3, 2018
1 parent 608adfc commit edb3f97
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/librustdoc/clean/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2737,6 +2737,7 @@ impl<'tcx> Clean<Type> for Ty<'tcx> {

ty::Closure(..) | ty::Generator(..) => Tuple(vec![]), // FIXME(pcwalton)

ty::UnnormalizedProjection(..) => panic!("UnnormalizedProjection"),
ty::GeneratorWitness(..) => panic!("GeneratorWitness"),
ty::Infer(..) => panic!("Infer"),
ty::Error => panic!("Error"),
Expand Down

0 comments on commit edb3f97

Please sign in to comment.