diff options
| author | bors <bors@rust-lang.org> | 2025-07-17 15:54:33 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2025-07-17 15:54:33 +0000 |
| commit | 9cd918bcbbc26deb005eb4e1bd9a445380195e56 (patch) | |
| tree | 6465cc8c8b8760820ca29717e9fa4d981e5de8ce /compiler/rustc_trait_selection/src/errors.rs | |
| parent | bf5e6cc7a7a7eb03e3ed9b875d76530eddd47d5f (diff) | |
| parent | 69326878eeabb713e2d4a85215b87f18e498313c (diff) | |
| download | rust-9cd918bcbbc26deb005eb4e1bd9a445380195e56.tar.gz rust-9cd918bcbbc26deb005eb4e1bd9a445380195e56.zip | |
Auto merge of #143879 - fee1-dead-contrib:push-lrlpoouyqqry, r=fmease
parse `const trait Trait` r? oli-obk or anyone from project-const-traits cc `@rust-lang/project-const-traits`
Diffstat (limited to 'compiler/rustc_trait_selection/src/errors.rs')
| -rw-r--r-- | compiler/rustc_trait_selection/src/errors.rs | 2 |
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 90cdf75265d..7901d52dffb 100644 --- a/compiler/rustc_trait_selection/src/errors.rs +++ b/compiler/rustc_trait_selection/src/errors.rs @@ -534,7 +534,7 @@ impl Subdiagnostic for AddLifetimeParamsSuggestion<'_> { match self.tcx.parent_hir_node(self.tcx.local_def_id_to_hir_id(anon_reg.scope)) { hir::Node::Item(hir::Item { - kind: hir::ItemKind::Trait(_, _, _, generics, ..), + kind: hir::ItemKind::Trait(_, _, _, _, generics, ..), .. }) | hir::Node::Item(hir::Item { |
