From 9654d5ceaf3c0e916bcc99c2865d374595becc54 Mon Sep 17 00:00:00 2001 From: Deadbeef Date: Mon, 11 Sep 2023 13:18:36 +0000 Subject: add `is_host_effect` to `GenericParamDefKind::Const` and address review --- src/librustdoc/clean/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/librustdoc') diff --git a/src/librustdoc/clean/mod.rs b/src/librustdoc/clean/mod.rs index b584c32a4c7..cbcb8fd99d8 100644 --- a/src/librustdoc/clean/mod.rs +++ b/src/librustdoc/clean/mod.rs @@ -541,7 +541,7 @@ fn clean_generic_param_def<'tcx>( }, ) } - ty::GenericParamDefKind::Const { has_default } => ( + ty::GenericParamDefKind::Const { has_default, .. } => ( def.name, GenericParamDefKind::Const { ty: Box::new(clean_middle_ty( -- cgit 1.4.1-3-g733a5