]> git.lizzy.rs Git - rust.git/blobdiff - src/librustdoc/clean/blanket_impl.rs
remove Clean trait implementation for hir::PolyTraitRef
[rust.git] / src / librustdoc / clean / blanket_impl.rs
index 8aecd9b15e842e2c95253f3da4dc71e917458bf2..01dd95e6e409395848bb6eeca124ca3ad9d9bea3 100644 (file)
@@ -115,7 +115,7 @@ pub(crate) fn get_blanket_impls(&mut self, item_def_id: DefId) -> Vec<Item> {
                             ),
                             // FIXME(eddyb) compute both `trait_` and `for_` from
                             // the post-inference `trait_ref`, as it's more accurate.
-                            trait_: Some(trait_ref.0.clean(cx)),
+                            trait_: Some(clean_trait_ref_with_bindings(cx, trait_ref.0, &[])),
                             for_: clean_middle_ty(ty.0, cx, None),
                             items: cx.tcx
                                 .associated_items(impl_def_id)