From f468a90bade063eecb086599a58fa306d2079094 Mon Sep 17 00:00:00 2001 From: lcnr Date: Thu, 20 Oct 2022 15:52:05 +0200 Subject: [PATCH] rustc_hir_typeck: move whole files --- .../src/check => rustc_hir_typeck/src}/_match.rs | 0 .../src/check => rustc_hir_typeck/src}/autoderef.rs | 0 .../src/check => rustc_hir_typeck/src}/callee.rs | 0 .../src/check => rustc_hir_typeck/src}/cast.rs | 0 .../src/check => rustc_hir_typeck/src}/closure.rs | 0 .../src/check => rustc_hir_typeck/src}/coercion.rs | 0 .../src/check => rustc_hir_typeck/src}/demand.rs | 0 .../src/check => rustc_hir_typeck/src}/diverges.rs | 0 .../src/check => rustc_hir_typeck/src}/expectation.rs | 0 .../src/check => rustc_hir_typeck/src}/expr.rs | 0 .../src/expr_use_visitor.rs | 0 .../src/check => rustc_hir_typeck/src}/fallback.rs | 0 .../src/check => rustc_hir_typeck/src}/fn_ctxt/_impl.rs | 0 .../src/check => rustc_hir_typeck/src}/fn_ctxt/arg_matrix.rs | 0 .../src/check => rustc_hir_typeck/src}/fn_ctxt/checks.rs | 0 .../src/check => rustc_hir_typeck/src}/fn_ctxt/mod.rs | 0 .../src/check => rustc_hir_typeck/src}/fn_ctxt/suggestions.rs | 0 .../src/check => rustc_hir_typeck/src}/gather_locals.rs | 0 .../src}/generator_interior/drop_ranges/cfg_build.rs | 0 .../src}/generator_interior/drop_ranges/cfg_propagate.rs | 0 .../src}/generator_interior/drop_ranges/cfg_visualize.rs | 0 .../src/generator_interior/drop_ranges/mod.rs} | 0 .../src}/generator_interior/drop_ranges/record_consumed_borrow.rs | 0 .../src/generator_interior/mod.rs} | 0 .../src/check => rustc_hir_typeck/src}/inherited.rs | 0 .../src/mem_categorization.rs | 0 .../src/check => rustc_hir_typeck/src}/method/confirm.rs | 0 .../src/check => rustc_hir_typeck/src}/method/mod.rs | 0 .../src/check => rustc_hir_typeck/src}/method/prelude2021.rs | 0 .../src/check => rustc_hir_typeck/src}/method/probe.rs | 0 .../src/check => rustc_hir_typeck/src}/method/suggest.rs | 0 .../{rustc_hir_analysis/src/check => rustc_hir_typeck/src}/op.rs | 0 .../{rustc_hir_analysis/src/check => rustc_hir_typeck/src}/pat.rs | 0 .../src/check => rustc_hir_typeck/src}/place_op.rs | 0 .../src/check => rustc_hir_typeck/src}/rvalue_scopes.rs | 0 .../src/check => rustc_hir_typeck/src}/upvar.rs | 0 .../src/check => rustc_hir_typeck/src}/writeback.rs | 0 37 files changed, 0 insertions(+), 0 deletions(-) rename compiler/{rustc_hir_analysis/src/check => rustc_hir_typeck/src}/_match.rs (100%) rename compiler/{rustc_hir_analysis/src/check => rustc_hir_typeck/src}/autoderef.rs (100%) rename compiler/{rustc_hir_analysis/src/check => rustc_hir_typeck/src}/callee.rs (100%) rename compiler/{rustc_hir_analysis/src/check => rustc_hir_typeck/src}/cast.rs (100%) rename compiler/{rustc_hir_analysis/src/check => rustc_hir_typeck/src}/closure.rs (100%) rename compiler/{rustc_hir_analysis/src/check => rustc_hir_typeck/src}/coercion.rs (100%) rename compiler/{rustc_hir_analysis/src/check => rustc_hir_typeck/src}/demand.rs (100%) rename compiler/{rustc_hir_analysis/src/check => rustc_hir_typeck/src}/diverges.rs (100%) rename compiler/{rustc_hir_analysis/src/check => rustc_hir_typeck/src}/expectation.rs (100%) rename compiler/{rustc_hir_analysis/src/check => rustc_hir_typeck/src}/expr.rs (100%) rename compiler/{rustc_hir_analysis => rustc_hir_typeck}/src/expr_use_visitor.rs (100%) rename compiler/{rustc_hir_analysis/src/check => rustc_hir_typeck/src}/fallback.rs (100%) rename compiler/{rustc_hir_analysis/src/check => rustc_hir_typeck/src}/fn_ctxt/_impl.rs (100%) rename compiler/{rustc_hir_analysis/src/check => rustc_hir_typeck/src}/fn_ctxt/arg_matrix.rs (100%) rename compiler/{rustc_hir_analysis/src/check => rustc_hir_typeck/src}/fn_ctxt/checks.rs (100%) rename compiler/{rustc_hir_analysis/src/check => rustc_hir_typeck/src}/fn_ctxt/mod.rs (100%) rename compiler/{rustc_hir_analysis/src/check => rustc_hir_typeck/src}/fn_ctxt/suggestions.rs (100%) rename compiler/{rustc_hir_analysis/src/check => rustc_hir_typeck/src}/gather_locals.rs (100%) rename compiler/{rustc_hir_analysis/src/check => rustc_hir_typeck/src}/generator_interior/drop_ranges/cfg_build.rs (100%) rename compiler/{rustc_hir_analysis/src/check => rustc_hir_typeck/src}/generator_interior/drop_ranges/cfg_propagate.rs (100%) rename compiler/{rustc_hir_analysis/src/check => rustc_hir_typeck/src}/generator_interior/drop_ranges/cfg_visualize.rs (100%) rename compiler/{rustc_hir_analysis/src/check/generator_interior/drop_ranges.rs => rustc_hir_typeck/src/generator_interior/drop_ranges/mod.rs} (100%) rename compiler/{rustc_hir_analysis/src/check => rustc_hir_typeck/src}/generator_interior/drop_ranges/record_consumed_borrow.rs (100%) rename compiler/{rustc_hir_analysis/src/check/generator_interior.rs => rustc_hir_typeck/src/generator_interior/mod.rs} (100%) rename compiler/{rustc_hir_analysis/src/check => rustc_hir_typeck/src}/inherited.rs (100%) rename compiler/{rustc_hir_analysis => rustc_hir_typeck}/src/mem_categorization.rs (100%) rename compiler/{rustc_hir_analysis/src/check => rustc_hir_typeck/src}/method/confirm.rs (100%) rename compiler/{rustc_hir_analysis/src/check => rustc_hir_typeck/src}/method/mod.rs (100%) rename compiler/{rustc_hir_analysis/src/check => rustc_hir_typeck/src}/method/prelude2021.rs (100%) rename compiler/{rustc_hir_analysis/src/check => rustc_hir_typeck/src}/method/probe.rs (100%) rename compiler/{rustc_hir_analysis/src/check => rustc_hir_typeck/src}/method/suggest.rs (100%) rename compiler/{rustc_hir_analysis/src/check => rustc_hir_typeck/src}/op.rs (100%) rename compiler/{rustc_hir_analysis/src/check => rustc_hir_typeck/src}/pat.rs (100%) rename compiler/{rustc_hir_analysis/src/check => rustc_hir_typeck/src}/place_op.rs (100%) rename compiler/{rustc_hir_analysis/src/check => rustc_hir_typeck/src}/rvalue_scopes.rs (100%) rename compiler/{rustc_hir_analysis/src/check => rustc_hir_typeck/src}/upvar.rs (100%) rename compiler/{rustc_hir_analysis/src/check => rustc_hir_typeck/src}/writeback.rs (100%) diff --git a/compiler/rustc_hir_analysis/src/check/_match.rs b/compiler/rustc_hir_typeck/src/_match.rs similarity index 100% rename from compiler/rustc_hir_analysis/src/check/_match.rs rename to compiler/rustc_hir_typeck/src/_match.rs diff --git a/compiler/rustc_hir_analysis/src/check/autoderef.rs b/compiler/rustc_hir_typeck/src/autoderef.rs similarity index 100% rename from compiler/rustc_hir_analysis/src/check/autoderef.rs rename to compiler/rustc_hir_typeck/src/autoderef.rs diff --git a/compiler/rustc_hir_analysis/src/check/callee.rs b/compiler/rustc_hir_typeck/src/callee.rs similarity index 100% rename from compiler/rustc_hir_analysis/src/check/callee.rs rename to compiler/rustc_hir_typeck/src/callee.rs diff --git a/compiler/rustc_hir_analysis/src/check/cast.rs b/compiler/rustc_hir_typeck/src/cast.rs similarity index 100% rename from compiler/rustc_hir_analysis/src/check/cast.rs rename to compiler/rustc_hir_typeck/src/cast.rs diff --git a/compiler/rustc_hir_analysis/src/check/closure.rs b/compiler/rustc_hir_typeck/src/closure.rs similarity index 100% rename from compiler/rustc_hir_analysis/src/check/closure.rs rename to compiler/rustc_hir_typeck/src/closure.rs diff --git a/compiler/rustc_hir_analysis/src/check/coercion.rs b/compiler/rustc_hir_typeck/src/coercion.rs similarity index 100% rename from compiler/rustc_hir_analysis/src/check/coercion.rs rename to compiler/rustc_hir_typeck/src/coercion.rs diff --git a/compiler/rustc_hir_analysis/src/check/demand.rs b/compiler/rustc_hir_typeck/src/demand.rs similarity index 100% rename from compiler/rustc_hir_analysis/src/check/demand.rs rename to compiler/rustc_hir_typeck/src/demand.rs diff --git a/compiler/rustc_hir_analysis/src/check/diverges.rs b/compiler/rustc_hir_typeck/src/diverges.rs similarity index 100% rename from compiler/rustc_hir_analysis/src/check/diverges.rs rename to compiler/rustc_hir_typeck/src/diverges.rs diff --git a/compiler/rustc_hir_analysis/src/check/expectation.rs b/compiler/rustc_hir_typeck/src/expectation.rs similarity index 100% rename from compiler/rustc_hir_analysis/src/check/expectation.rs rename to compiler/rustc_hir_typeck/src/expectation.rs diff --git a/compiler/rustc_hir_analysis/src/check/expr.rs b/compiler/rustc_hir_typeck/src/expr.rs similarity index 100% rename from compiler/rustc_hir_analysis/src/check/expr.rs rename to compiler/rustc_hir_typeck/src/expr.rs diff --git a/compiler/rustc_hir_analysis/src/expr_use_visitor.rs b/compiler/rustc_hir_typeck/src/expr_use_visitor.rs similarity index 100% rename from compiler/rustc_hir_analysis/src/expr_use_visitor.rs rename to compiler/rustc_hir_typeck/src/expr_use_visitor.rs diff --git a/compiler/rustc_hir_analysis/src/check/fallback.rs b/compiler/rustc_hir_typeck/src/fallback.rs similarity index 100% rename from compiler/rustc_hir_analysis/src/check/fallback.rs rename to compiler/rustc_hir_typeck/src/fallback.rs diff --git a/compiler/rustc_hir_analysis/src/check/fn_ctxt/_impl.rs b/compiler/rustc_hir_typeck/src/fn_ctxt/_impl.rs similarity index 100% rename from compiler/rustc_hir_analysis/src/check/fn_ctxt/_impl.rs rename to compiler/rustc_hir_typeck/src/fn_ctxt/_impl.rs diff --git a/compiler/rustc_hir_analysis/src/check/fn_ctxt/arg_matrix.rs b/compiler/rustc_hir_typeck/src/fn_ctxt/arg_matrix.rs similarity index 100% rename from compiler/rustc_hir_analysis/src/check/fn_ctxt/arg_matrix.rs rename to compiler/rustc_hir_typeck/src/fn_ctxt/arg_matrix.rs diff --git a/compiler/rustc_hir_analysis/src/check/fn_ctxt/checks.rs b/compiler/rustc_hir_typeck/src/fn_ctxt/checks.rs similarity index 100% rename from compiler/rustc_hir_analysis/src/check/fn_ctxt/checks.rs rename to compiler/rustc_hir_typeck/src/fn_ctxt/checks.rs diff --git a/compiler/rustc_hir_analysis/src/check/fn_ctxt/mod.rs b/compiler/rustc_hir_typeck/src/fn_ctxt/mod.rs similarity index 100% rename from compiler/rustc_hir_analysis/src/check/fn_ctxt/mod.rs rename to compiler/rustc_hir_typeck/src/fn_ctxt/mod.rs diff --git a/compiler/rustc_hir_analysis/src/check/fn_ctxt/suggestions.rs b/compiler/rustc_hir_typeck/src/fn_ctxt/suggestions.rs similarity index 100% rename from compiler/rustc_hir_analysis/src/check/fn_ctxt/suggestions.rs rename to compiler/rustc_hir_typeck/src/fn_ctxt/suggestions.rs diff --git a/compiler/rustc_hir_analysis/src/check/gather_locals.rs b/compiler/rustc_hir_typeck/src/gather_locals.rs similarity index 100% rename from compiler/rustc_hir_analysis/src/check/gather_locals.rs rename to compiler/rustc_hir_typeck/src/gather_locals.rs diff --git a/compiler/rustc_hir_analysis/src/check/generator_interior/drop_ranges/cfg_build.rs b/compiler/rustc_hir_typeck/src/generator_interior/drop_ranges/cfg_build.rs similarity index 100% rename from compiler/rustc_hir_analysis/src/check/generator_interior/drop_ranges/cfg_build.rs rename to compiler/rustc_hir_typeck/src/generator_interior/drop_ranges/cfg_build.rs diff --git a/compiler/rustc_hir_analysis/src/check/generator_interior/drop_ranges/cfg_propagate.rs b/compiler/rustc_hir_typeck/src/generator_interior/drop_ranges/cfg_propagate.rs similarity index 100% rename from compiler/rustc_hir_analysis/src/check/generator_interior/drop_ranges/cfg_propagate.rs rename to compiler/rustc_hir_typeck/src/generator_interior/drop_ranges/cfg_propagate.rs diff --git a/compiler/rustc_hir_analysis/src/check/generator_interior/drop_ranges/cfg_visualize.rs b/compiler/rustc_hir_typeck/src/generator_interior/drop_ranges/cfg_visualize.rs similarity index 100% rename from compiler/rustc_hir_analysis/src/check/generator_interior/drop_ranges/cfg_visualize.rs rename to compiler/rustc_hir_typeck/src/generator_interior/drop_ranges/cfg_visualize.rs diff --git a/compiler/rustc_hir_analysis/src/check/generator_interior/drop_ranges.rs b/compiler/rustc_hir_typeck/src/generator_interior/drop_ranges/mod.rs similarity index 100% rename from compiler/rustc_hir_analysis/src/check/generator_interior/drop_ranges.rs rename to compiler/rustc_hir_typeck/src/generator_interior/drop_ranges/mod.rs diff --git a/compiler/rustc_hir_analysis/src/check/generator_interior/drop_ranges/record_consumed_borrow.rs b/compiler/rustc_hir_typeck/src/generator_interior/drop_ranges/record_consumed_borrow.rs similarity index 100% rename from compiler/rustc_hir_analysis/src/check/generator_interior/drop_ranges/record_consumed_borrow.rs rename to compiler/rustc_hir_typeck/src/generator_interior/drop_ranges/record_consumed_borrow.rs diff --git a/compiler/rustc_hir_analysis/src/check/generator_interior.rs b/compiler/rustc_hir_typeck/src/generator_interior/mod.rs similarity index 100% rename from compiler/rustc_hir_analysis/src/check/generator_interior.rs rename to compiler/rustc_hir_typeck/src/generator_interior/mod.rs diff --git a/compiler/rustc_hir_analysis/src/check/inherited.rs b/compiler/rustc_hir_typeck/src/inherited.rs similarity index 100% rename from compiler/rustc_hir_analysis/src/check/inherited.rs rename to compiler/rustc_hir_typeck/src/inherited.rs diff --git a/compiler/rustc_hir_analysis/src/mem_categorization.rs b/compiler/rustc_hir_typeck/src/mem_categorization.rs similarity index 100% rename from compiler/rustc_hir_analysis/src/mem_categorization.rs rename to compiler/rustc_hir_typeck/src/mem_categorization.rs diff --git a/compiler/rustc_hir_analysis/src/check/method/confirm.rs b/compiler/rustc_hir_typeck/src/method/confirm.rs similarity index 100% rename from compiler/rustc_hir_analysis/src/check/method/confirm.rs rename to compiler/rustc_hir_typeck/src/method/confirm.rs diff --git a/compiler/rustc_hir_analysis/src/check/method/mod.rs b/compiler/rustc_hir_typeck/src/method/mod.rs similarity index 100% rename from compiler/rustc_hir_analysis/src/check/method/mod.rs rename to compiler/rustc_hir_typeck/src/method/mod.rs diff --git a/compiler/rustc_hir_analysis/src/check/method/prelude2021.rs b/compiler/rustc_hir_typeck/src/method/prelude2021.rs similarity index 100% rename from compiler/rustc_hir_analysis/src/check/method/prelude2021.rs rename to compiler/rustc_hir_typeck/src/method/prelude2021.rs diff --git a/compiler/rustc_hir_analysis/src/check/method/probe.rs b/compiler/rustc_hir_typeck/src/method/probe.rs similarity index 100% rename from compiler/rustc_hir_analysis/src/check/method/probe.rs rename to compiler/rustc_hir_typeck/src/method/probe.rs diff --git a/compiler/rustc_hir_analysis/src/check/method/suggest.rs b/compiler/rustc_hir_typeck/src/method/suggest.rs similarity index 100% rename from compiler/rustc_hir_analysis/src/check/method/suggest.rs rename to compiler/rustc_hir_typeck/src/method/suggest.rs diff --git a/compiler/rustc_hir_analysis/src/check/op.rs b/compiler/rustc_hir_typeck/src/op.rs similarity index 100% rename from compiler/rustc_hir_analysis/src/check/op.rs rename to compiler/rustc_hir_typeck/src/op.rs diff --git a/compiler/rustc_hir_analysis/src/check/pat.rs b/compiler/rustc_hir_typeck/src/pat.rs similarity index 100% rename from compiler/rustc_hir_analysis/src/check/pat.rs rename to compiler/rustc_hir_typeck/src/pat.rs diff --git a/compiler/rustc_hir_analysis/src/check/place_op.rs b/compiler/rustc_hir_typeck/src/place_op.rs similarity index 100% rename from compiler/rustc_hir_analysis/src/check/place_op.rs rename to compiler/rustc_hir_typeck/src/place_op.rs diff --git a/compiler/rustc_hir_analysis/src/check/rvalue_scopes.rs b/compiler/rustc_hir_typeck/src/rvalue_scopes.rs similarity index 100% rename from compiler/rustc_hir_analysis/src/check/rvalue_scopes.rs rename to compiler/rustc_hir_typeck/src/rvalue_scopes.rs diff --git a/compiler/rustc_hir_analysis/src/check/upvar.rs b/compiler/rustc_hir_typeck/src/upvar.rs similarity index 100% rename from compiler/rustc_hir_analysis/src/check/upvar.rs rename to compiler/rustc_hir_typeck/src/upvar.rs diff --git a/compiler/rustc_hir_analysis/src/check/writeback.rs b/compiler/rustc_hir_typeck/src/writeback.rs similarity index 100% rename from compiler/rustc_hir_analysis/src/check/writeback.rs rename to compiler/rustc_hir_typeck/src/writeback.rs