rust/compiler/rustc_hir_analysis/src
Matthias Krüger e500dcb8cb
Rollup merge of #103223 - compiler-errors:deref-sugg-slow, r=wesleywiser
Use already checked RHS ty for LHS deref suggestions

There's no reason to do the `check_lhs_assignable` and RHS `check_expr_with_hint` in that order, so invert them and use the typeck results to avoid exponential blowup on error.

Fixes #103219
2022-10-19 21:38:40 +02:00
..
astconv Change InferCtxtBuilder from enter to build 2022-10-07 07:10:40 -05:00
check Rollup merge of #103223 - compiler-errors:deref-sugg-slow, r=wesleywiser 2022-10-19 21:38:40 +02:00
coherence Auto merge of #102931 - camsteffen:inline-overlapping-impls, r=cjgillot 2022-10-16 02:05:30 +00:00
collect Auto merge of #102700 - oli-obk:0xDEAD_TAIT, r=compiler-errors 2022-10-13 22:39:05 +00:00
impl_wf_check Fix compiler docs 2022-10-10 18:28:29 +02:00
outlives rustc_typeck to rustc_hir_analysis 2022-09-27 10:37:23 +02:00
structured_errors rustc_typeck to rustc_hir_analysis 2022-09-27 10:37:23 +02:00
variance rustc_typeck to rustc_hir_analysis 2022-09-27 10:37:23 +02:00
bounds.rs rustc_typeck to rustc_hir_analysis 2022-09-27 10:37:23 +02:00
check_unused.rs Refactor rustc lint API 2022-10-01 10:03:06 +00:00
collect.rs add panic_fmt_nounwind for panicing without unwinding, and use it for panic_no_unwind 2022-10-11 22:47:31 +02:00
constrained_generic_params.rs Fix compiler docs 2022-10-10 18:28:29 +02:00
errors.rs find the correct lang item for ranges 2022-10-04 21:02:07 +08:00
expr_use_visitor.rs Make dyn* cast into a coercion 2022-10-14 04:27:01 +00:00
hir_wf_check.rs Rollup merge of #102829 - compiler-errors:rename-impl-item-kind, r=TaKO8Ki 2022-10-10 00:09:42 +09:00
impl_wf_check.rs Report duplicate definition in impls with overlap check. 2022-10-13 16:50:24 +00:00
lib.rs Change InferCtxtBuilder from enter to build 2022-10-07 07:10:40 -05:00
mem_categorization.rs Make dyn* cast into a coercion 2022-10-14 04:27:01 +00:00
structured_errors.rs rustc_typeck to rustc_hir_analysis 2022-09-27 10:37:23 +02:00