Skip to content

Commit 75a6fde

Browse files
committed
Update rustdoc
1 parent 6e5b9c1 commit 75a6fde

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/librustdoc/clean/mod.rs

-8
Original file line numberDiff line numberDiff line change
@@ -2987,14 +2987,6 @@ impl Clean<Type> for hir::Ty {
29872987
}
29882988
}
29892989
TyBareFn(ref barefn) => BareFunction(box barefn.clean(cx)),
2990-
TyImplTraitExistential(hir_id, _, _) => {
2991-
match cx.tcx.hir.expect_item(hir_id.id).node {
2992-
hir::ItemExistential(ref exist_ty) => {
2993-
ImplTrait(exist_ty.bounds.clean(cx))
2994-
},
2995-
ref other => panic!("impl Trait pointed to {:#?}", other),
2996-
}
2997-
},
29982990
TyInfer | TyErr => Infer,
29992991
TyTypeof(..) => panic!("Unimplemented type {:?}", self.node),
30002992
}

0 commit comments

Comments
 (0)