mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-30 13:06:28 +03:00
f09612e237
delegation: remove method call generation This PR removes method call generation from delegations, now we always generate default call. Part of rust-lang/rust#118212. We reuse methods probing engine for finding needed adjustments, thus extending number of supported cases. In this PR adjustments are applied to trait methods (was supported before) ~and static functions (new feature)~. Free functions can be supported later. Finally this PR solves issues from parent generics propagation from rust-lang/rust#155906. r? @petrochenkov