]> git.lizzy.rs Git - rust.git/blobdiff - src/librustdoc/clean/mod.rs
Move `BoundTy` to `ty::TyKind`
[rust.git] / src / librustdoc / clean / mod.rs
index 88240e844edc23887fb5f66d4b4416854b8937f4..8391db9a37d50159da62df1bcb6135e65f914707 100644 (file)
@@ -2733,6 +2733,7 @@ fn clean(&self, cx: &DocContext) -> Type {
 
             ty::Closure(..) | ty::Generator(..) => Tuple(vec![]), // FIXME(pcwalton)
 
+            ty::Bound(..) => panic!("Bound"),
             ty::UnnormalizedProjection(..) => panic!("UnnormalizedProjection"),
             ty::GeneratorWitness(..) => panic!("GeneratorWitness"),
             ty::Infer(..) => panic!("Infer"),