Commit graph

1 commit

Author SHA1 Message Date
Esteban Küber 09f16b596d Avoid ICE in trait without dyn lint
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.
2024-01-29 18:33:52 +00:00
Renamed from tests/ui/object-safety/bare-trait-dont-suggest-dyn.stderr (Browse further)