mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-26 13:01:27 +03:00
ef162a52dc
delegation: rename `Self` generic param to `This` in recursive delegations This PR supports renaming of `Self` generic parameter to `This` in recursive delegations scenario, this allows propagation of `This` as we rely on `Self` naming to check whether it is implicit Self of a trait. Comment with a bit deeper explanation is in `uplift_delegation_generic_params`. Part of rust-lang/rust#118212. r? @petrochenkov