about summary refs log tree commit diff
path: root/compiler/rustc_trait_selection/src/errors.rs
diff options
context:
space:
mode:
authorThe Miri Cronjob Bot <miri@cron.bot>2025-06-06 05:02:49 +0000
committerThe Miri Cronjob Bot <miri@cron.bot>2025-06-06 05:02:49 +0000
commitc44bc10b67939cc96a2e1c32c352beaaedb95d1b (patch)
tree8e2d7a7fe4590bf066323a503a4a17290a353f47 /compiler/rustc_trait_selection/src/errors.rs
parent8c410ca291a68bf23ca3694b1bbda631323b12cd (diff)
parentd945c8562b49df98af25ed43b41bdbc59b8385cc (diff)
downloadrust-c44bc10b67939cc96a2e1c32c352beaaedb95d1b.tar.gz
rust-c44bc10b67939cc96a2e1c32c352beaaedb95d1b.zip
Merge from rustc
Diffstat (limited to 'compiler/rustc_trait_selection/src/errors.rs')
-rw-r--r--compiler/rustc_trait_selection/src/errors.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_trait_selection/src/errors.rs b/compiler/rustc_trait_selection/src/errors.rs
index 0bea308ed5c..06f81ac554e 100644
--- a/compiler/rustc_trait_selection/src/errors.rs
+++ b/compiler/rustc_trait_selection/src/errors.rs
@@ -593,7 +593,7 @@ impl Subdiagnostic for AddLifetimeParamsSuggestion<'_> {
                                         matches!(
                                             arg,
                                             hir::GenericArg::Lifetime(lifetime)
-                                                if lifetime.is_syntactically_hidden()
+                                                if lifetime.is_implicit()
                                         )
                                     }) {
                                         self.suggestions.push((