We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e5b9c1 commit 75a6fdeCopy full SHA for 75a6fde
src/librustdoc/clean/mod.rs
@@ -2987,14 +2987,6 @@ impl Clean<Type> for hir::Ty {
2987
}
2988
2989
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
2998
TyInfer | TyErr => Infer,
2999
TyTypeof(..) => panic!("Unimplemented type {:?}", self.node),
3000
0 commit comments