From a3b5f1ad85828e15ceceedb8fdb950072e7d9776 Mon Sep 17 00:00:00 2001 From: Deadbeef Date: Wed, 20 Sep 2023 01:34:37 +0000 Subject: [PATCH] ignore host effect params in rustdoc --- src/librustdoc/clean/mod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/librustdoc/clean/mod.rs b/src/librustdoc/clean/mod.rs index 190b1b038b6..c4011461885 100644 --- a/src/librustdoc/clean/mod.rs +++ b/src/librustdoc/clean/mod.rs @@ -793,6 +793,7 @@ fn clean_ty_generics<'tcx>( } Some(clean_generic_param_def(param, cx)) } + ty::GenericParamDefKind::Const { is_host_effect: true, .. } => None, ty::GenericParamDefKind::Const { .. } => Some(clean_generic_param_def(param, cx)), }) .collect::>();