rust/compiler/rustc_hir_analysis/src
Dylan DPC 6583025c93
Rollup merge of #111853 - compiler-errors:opaque-check, r=oli-obk
Check opaques for mismatch during writeback

Revive #111705.

I realized that we don't need to put any substs in the writeback results since all of the hidden types have already been remapped. See the comment in `compiler/rustc_middle/src/ty/typeck_results.rs`, which should make that clear for other explorers of the codebase.

Additionally, we need to do some diagnostic stashing because the diagnostics we produce during HIR typeck is very poor and we should prefer the diagnostic that comes from MIR, if we have one.

r? `@oli-obk`
2023-05-23 16:44:28 +05:30
..
astconv Rollup merge of #111633 - nnethercote:avoid-ref-format, r=WaffleLapkin 2023-05-18 10:52:35 +05:30
check Rollup merge of #111533 - clubby789:drop-tracking-error, r=oli-obk 2023-05-16 20:12:16 +02:00
coherence Rollup merge of #111648 - Nilstrieb:language-items, r=WaffleLapkin 2023-05-17 11:13:56 +05:30
collect Check opaques for mismatch during writeback 2023-05-22 23:33:34 +00:00
impl_wf_check Report nicer lifetime errors for specialization 2023-05-05 22:19:56 +01:00
outlives Move expansion of query macros in rustc_middle to rustc_middle::query 2023-05-15 08:49:13 +02:00
structured_errors Restrict From<S> for {D,Subd}iagnosticMessage. 2023-05-03 08:44:39 +10:00
variance Move expansion of query macros in rustc_middle to rustc_middle::query 2023-05-15 08:49:13 +02:00
autoderef.rs Structurally normalize in the new solver 2023-05-22 21:18:20 +00:00
bounds.rs Auto merge of #110806 - WaffleLapkin:unmkI, r=lcnr 2023-05-04 05:54:09 +00:00
check_unused.rs Remove last instances of HashSet in query result types. 2023-03-01 10:20:45 +01:00
collect.rs Retire is_foreign_item query. 2023-05-17 15:32:17 +00:00
constrained_generic_params.rs IAT: Introduce AliasKind::Inherent 2023-05-04 16:59:10 +02:00
errors.rs Rollup merge of #111252 - matthewjasper:min-spec-improvements, r=compiler-errors 2023-05-09 12:33:46 +05:30
hir_wf_check.rs Move expansion of query macros in rustc_middle to rustc_middle::query 2023-05-15 08:49:13 +02:00
impl_wf_check.rs Move expansion of query macros in rustc_middle to rustc_middle::query 2023-05-15 08:49:13 +02:00
lib.rs Move expansion of query macros in rustc_middle to rustc_middle::query 2023-05-15 08:49:13 +02:00
structured_errors.rs rustc_typeck to rustc_hir_analysis 2022-09-27 10:37:23 +02:00