Files
rust/compiler
Jonathan Brouwer 3d486d2ffc Rollup merge of #153705 - aerooneqq:delegation-impl-trait-generics, r=petrochenkov
Always generate generics in delegation that match trait in trait impl scenario

After rust-lang/rust#151864 there is a change in delegation code generation in `trait impl` cases: after rust-lang/rust#151864 we started to look at user-specified args and generate functions, whose generics may not match the signature of the function that is defined in trait. Such handling of delegation from trait impl is not correct, as the generated function should always have the same generics as its signature function in trait.

This addresses the "Fix generic params generation in trait impl case" future work from rust-lang/rust#151864

r? @petrochenkov
2026-03-12 15:52:10 +01:00
..
2026-03-11 06:25:23 +11:00
2026-03-11 06:25:23 +11:00
2026-03-07 10:42:02 -08:00
2026-03-11 06:25:23 +11:00
2026-03-11 06:25:23 +11:00
2026-03-11 06:25:23 +11:00
2026-03-11 06:25:23 +11:00
2026-03-11 21:54:42 +11:00
2026-03-11 06:25:23 +11:00
2026-01-19 16:08:54 +00:00