rust/compiler/rustc_hir_analysis/src
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
..
astconv Avoid ICE in trait without dyn lint 2024-01-29 18:33:52 +00:00
check Stop using String for error codes. 2024-01-29 07:41:41 +11:00
coherence Stop using String for error codes. 2024-01-29 07:41:41 +11:00
collect Stop using String for error codes. 2024-01-29 07:41:41 +11:00
impl_wf_check Rollup merge of #119869 - oli-obk:track_errors2, r=matthewjasper 2024-01-18 20:56:20 +01:00
outlives Stop using track_errors for some forever unstable rustc_attr analyses 2024-01-17 10:02:14 +00:00
structured_errors Stop using String for error codes. 2024-01-29 07:41:41 +11:00
variance Stop using track_errors for some forever unstable rustc_attr analyses 2024-01-17 10:02:14 +00:00
autoderef.rs Random type checker changes 2024-01-23 15:10:23 +00:00
bounds.rs ~const trait or projection bounds do not imply non-const bounds 2024-01-08 15:01:14 +00:00
check_unused.rs Rename TyCtxt::struct_span_lint_hir as TyCtxt::node_span_lint. 2024-01-23 08:09:01 +11:00
collect.rs Don't forget that the lifetime on hir types is 'tcx 2024-01-18 16:07:10 +00:00
constrained_generic_params.rs finish RegionKind rename 2023-11-14 13:13:27 +00:00
errors.rs Stop using String for error codes. 2024-01-29 07:41:41 +11:00
hir_wf_check.rs Remove Session methods that duplicate DiagCtxt methods. 2023-12-24 08:05:28 +11:00
impl_wf_check.rs Stop using String for error codes. 2024-01-29 07:41:41 +11:00
lib.rs Remove unused features 2024-01-25 14:01:33 +00:00
structured_errors.rs Stop using String for error codes. 2024-01-29 07:41:41 +11:00