mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-28 03:07:24 +03:00
58c690729c
suggest removing `impl` in generic trait bound position
rustc already does this recovery in type param position (`<T: impl Trait>` -> `<T: Trait>`).
This PR also adds that suggestion in trait bound position (e.g. `where T: impl Trait` or `trait Trait { type Assoc: impl Trait; }`)