rust/compiler
bors 027c8507b4 Auto merge of #103902 - vincenzopalazzo:macros/obligation_rulesv2, r=oli-obk
use `LocalDefId` instead of `HirId` in trait resolution to simplify the obligation clause resolution

This commit introduces a refactoring suggested by `@lcnr` to simplify the obligation clause resolution.

This is just the first PR that introduces a type of refactoring, but others PRs will follow this to introduce name changing to change from the variable name from `body_id` to something else.

Fixes https://github.com/rust-lang/rust/issues/104827

Signed-off-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>

`@rustbot` r? `@lcnr`
2023-01-25 16:39:29 +00:00
..
rustc
rustc_abi
rustc_apfloat
rustc_arena
rustc_ast
rustc_ast_lowering
rustc_ast_passes
rustc_ast_pretty
rustc_attr
rustc_baked_icu_data
rustc_borrowck fix: use LocalDefId instead of HirId in trait res 2023-01-23 11:42:18 +00:00
rustc_builtin_macros
rustc_codegen_cranelift
rustc_codegen_gcc
rustc_codegen_llvm
rustc_codegen_ssa
rustc_const_eval fix: use LocalDefId instead of HirId in trait res 2023-01-23 11:42:18 +00:00
rustc_data_structures Rollup merge of #107153 - tmiasko:dominates, r=oli-obk 2023-01-23 19:30:02 +09:00
rustc_driver
rustc_error_codes add UI test + docs for E0789 2023-01-23 20:38:14 +13:00
rustc_error_messages Add suggestion to remove if in let...else block 2023-01-23 20:33:04 -08:00
rustc_errors
rustc_expand
rustc_feature Rollup merge of #106767 - chbaker0:disable-unstable-features, r=Mark-Simulacrum 2023-01-25 17:01:41 +05:30
rustc_fs_util
rustc_graphviz
rustc_hir
rustc_hir_analysis fix: use LocalDefId instead of HirId in trait res 2023-01-23 11:42:18 +00:00
rustc_hir_pretty
rustc_hir_typeck Auto merge of #103902 - vincenzopalazzo:macros/obligation_rulesv2, r=oli-obk 2023-01-25 16:39:29 +00:00
rustc_incremental
rustc_index
rustc_infer Auto merge of #103902 - vincenzopalazzo:macros/obligation_rulesv2, r=oli-obk 2023-01-25 16:39:29 +00:00
rustc_interface
rustc_lexer
rustc_lint fix: use LocalDefId instead of HirId in trait res 2023-01-23 11:42:18 +00:00
rustc_lint_defs Auto merge of #107185 - compiler-errors:rollup-wkomjma, r=compiler-errors 2023-01-22 06:53:36 +00:00
rustc_llvm Rollup merge of #106113 - krasimirgg:llvm-16-ext-tyid, r=nikic 2023-01-21 23:20:58 -05:00
rustc_log
rustc_macros
rustc_metadata rustc_metadata: Support non-Option nullable values in metadata tables 2023-01-23 19:35:03 +04:00
rustc_middle Auto merge of #103902 - vincenzopalazzo:macros/obligation_rulesv2, r=oli-obk 2023-01-25 16:39:29 +00:00
rustc_mir_build fix: use LocalDefId instead of HirId in trait res 2023-01-23 11:42:18 +00:00
rustc_mir_dataflow
rustc_mir_transform
rustc_monomorphize
rustc_parse Add suggestion to remove if in let...else block 2023-01-23 20:33:04 -08:00
rustc_parse_format
rustc_passes
rustc_plugin_impl
rustc_privacy
rustc_query_impl
rustc_query_system
rustc_resolve Auto merge of #107185 - compiler-errors:rollup-wkomjma, r=compiler-errors 2023-01-22 06:53:36 +00:00
rustc_save_analysis
rustc_serialize
rustc_session
rustc_smir
rustc_span
rustc_symbol_mangling
rustc_target Rollup merge of #106796 - vadorovsky:revert-105708-enable-atomic-cas-bpf, r=bjorn3 2023-01-23 19:29:58 +09:00
rustc_trait_selection Auto merge of #103902 - vincenzopalazzo:macros/obligation_rulesv2, r=oli-obk 2023-01-25 16:39:29 +00:00
rustc_traits fix: use LocalDefId instead of HirId in trait res 2023-01-23 11:42:18 +00:00
rustc_transmute
rustc_ty_utils fix: use LocalDefId instead of HirId in trait res 2023-01-23 11:42:18 +00:00
rustc_type_ir