rust/compiler/rustc_hir_analysis
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
..
2024-01-29 18:33:52 +00:00
2024-01-12 14:11:16 +03:00

For high-level intro to how type checking works in rustc, see the type checking chapter of the rustc dev guide.