mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-07 09:13:07 +03:00
09f16b596d
Do not attempt to provide an accurate suggestion for `impl Trait` in bare trait types when linting. Instead, only do the object safety check when an E0782 is already going to be emitted in the 2021 edition. Fix #120241.