about summary refs log tree commit diff
path: root/src/librustdoc
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2023-09-11 17:03:31 +0200
committerGitHub <noreply@github.com>2023-09-11 17:03:31 +0200
commite7a347baf8de99562d437279e25f45ed03fb3f3a (patch)
tree72a339fe5a11db311a44c8c093610e1460fae8ab /src/librustdoc
parentf30b27a6e86ae15837442621af9261cfd0a123de (diff)
parent9654d5ceaf3c0e916bcc99c2865d374595becc54 (diff)
downloadrust-e7a347baf8de99562d437279e25f45ed03fb3f3a.tar.gz
rust-e7a347baf8de99562d437279e25f45ed03fb3f3a.zip
Rollup merge of #115727 - fee1-dead-contrib:effect-fallback, r=oli-obk
Implement fallback for effect param

r? `@oli-obk` or `@lcnr`

tracking issue for this ongoing work: https://github.com/rust-lang/rust/issues/110395
Diffstat (limited to 'src/librustdoc')
-rw-r--r--src/librustdoc/clean/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustdoc/clean/mod.rs b/src/librustdoc/clean/mod.rs
index 1f6e832c7cb..f30384701cb 100644
--- a/src/librustdoc/clean/mod.rs
+++ b/src/librustdoc/clean/mod.rs
@@ -542,7 +542,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(