about summary refs log tree commit diff
path: root/src/librustdoc/clean/utils.rs
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2025-04-11 04:17:19 +0000
committerMichael Goulet <michael@errs.io>2025-07-04 18:14:22 +0000
commit42c9bfd2b96f2e6cd0e4e6fab21c2d5499883089 (patch)
tree7ce9fcacfe304104d232cb1a1091c1131e465a44 /src/librustdoc/clean/utils.rs
parent0c4fa2690de945f062668acfc36b3f8cfbd013e2 (diff)
downloadrust-42c9bfd2b96f2e6cd0e4e6fab21c2d5499883089.tar.gz
rust-42c9bfd2b96f2e6cd0e4e6fab21c2d5499883089.zip
Remove Symbol for Named LateParam/Bound variants
Diffstat (limited to 'src/librustdoc/clean/utils.rs')
-rw-r--r--src/librustdoc/clean/utils.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/librustdoc/clean/utils.rs b/src/librustdoc/clean/utils.rs
index 2c9878636ab..bf3f7607274 100644
--- a/src/librustdoc/clean/utils.rs
+++ b/src/librustdoc/clean/utils.rs
@@ -125,9 +125,9 @@ pub(crate) fn clean_middle_generic_args<'tcx>(
         }
 
         match arg.skip_binder().kind() {
-            GenericArgKind::Lifetime(lt) => {
-                Some(GenericArg::Lifetime(clean_middle_region(lt).unwrap_or(Lifetime::elided())))
-            }
+            GenericArgKind::Lifetime(lt) => Some(GenericArg::Lifetime(
+                clean_middle_region(lt, cx).unwrap_or(Lifetime::elided()),
+            )),
             GenericArgKind::Type(ty) => Some(GenericArg::Type(clean_middle_ty(
                 arg.rebind(ty),
                 cx,