]> git.lizzy.rs Git - rust.git/commitdiff
Update rustdoc
authorOliver Schneider <github35764891676564198441@oli-obk.de>
Mon, 2 Jul 2018 08:37:49 +0000 (10:37 +0200)
committerOliver Schneider <github35764891676564198441@oli-obk.de>
Mon, 2 Jul 2018 08:37:49 +0000 (10:37 +0200)
src/librustdoc/clean/mod.rs

index b8abb98edec4800945d65bd3036d080bc8b1fa8e..f71d62d5a04e1e3cb39a613ec7a4682df613d423 100644 (file)
@@ -2987,14 +2987,6 @@ fn clean(&self, cx: &DocContext) -> Type {
                 }
             }
             TyBareFn(ref barefn) => BareFunction(box barefn.clean(cx)),
-            TyImplTraitExistential(hir_id, _, _) => {
-                match cx.tcx.hir.expect_item(hir_id.id).node {
-                    hir::ItemExistential(ref exist_ty) => {
-                        ImplTrait(exist_ty.bounds.clean(cx))
-                    },
-                    ref other => panic!("impl Trait pointed to {:#?}", other),
-                }
-            },
             TyInfer | TyErr => Infer,
             TyTypeof(..) => panic!("Unimplemented type {:?}", self.node),
         }