From d2bf16ad6d80827800798a00ba584f95e9689573 Mon Sep 17 00:00:00 2001 From: Jake Goulding Date: Fri, 9 May 2025 09:38:17 -0400 Subject: Rename `LifetimeSyntax` variants to lang-team-approved names --- compiler/rustc_trait_selection/src/errors.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compiler/rustc_trait_selection/src/errors.rs') diff --git a/compiler/rustc_trait_selection/src/errors.rs b/compiler/rustc_trait_selection/src/errors.rs index 779c861637a..ee79d31ac69 100644 --- a/compiler/rustc_trait_selection/src/errors.rs +++ b/compiler/rustc_trait_selection/src/errors.rs @@ -592,7 +592,7 @@ impl Subdiagnostic for AddLifetimeParamsSuggestion<'_> { matches!( arg, hir::GenericArg::Lifetime(lifetime) - if lifetime.is_syntactically_hidden() + if lifetime.is_implicit() ) }) { self.suggestions.push(( -- cgit 1.4.1-3-g733a5