rust/compiler/rustc_trait_selection/src/traits
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
..
error_reporting fix: use LocalDefId instead of HirId in trait res 2023-01-23 11:42:18 +00:00
query Auto merge of #106090 - WaffleLapkin:dereffffffffff, r=Nilstrieb 2023-01-20 04:52:28 +00:00
select Filter predicates first for fast-path type flags 2023-01-20 03:20:17 +00:00
specialize Rollup merge of #104505 - WaffleLapkin:no-double-spaces-in-comments, r=jackh726 2023-01-17 20:21:25 +01:00
auto_trait.rs remove redundant fn params that were only "used" in recursion 2022-12-18 14:27:07 +01:00
chalk_fulfill.rs Store relationships on Inherent 2023-01-22 11:02:28 -03:00
coherence.rs fix: use LocalDefId instead of HirId in trait res 2023-01-23 11:42:18 +00:00
const_evaluatable.rs Stop using BREAK & CONTINUE in compiler 2023-01-17 23:17:51 -08:00
engine.rs fix: use LocalDefId instead of HirId in trait res 2023-01-23 11:42:18 +00:00
fulfill.rs Store relationships on Inherent 2023-01-22 11:02:28 -03:00
misc.rs Delay normalization bugs instead of reporting them 2023-01-13 23:19:36 +00:00
mod.rs fix: use LocalDefId instead of HirId in trait res 2023-01-23 11:42:18 +00:00
object_safety.rs Stop using BREAK & CONTINUE in compiler 2023-01-17 23:17:51 -08:00
outlives_bounds.rs fix: use LocalDefId instead of HirId in trait res 2023-01-23 11:42:18 +00:00
project.rs Rollup merge of #106970 - kylematsuda:earlybinder-item-bounds, r=lcnr 2023-01-17 20:21:28 +01:00
structural_match.rs Stop using BREAK & CONTINUE in compiler 2023-01-17 23:17:51 -08:00
util.rs remove unused imports 2022-12-26 15:01:20 +09:00
vtable.rs instantiate_own doesn't need to return a pair of vectors 2023-01-15 15:29:53 +00:00
wf.rs fix: use LocalDefId instead of HirId in trait res 2023-01-23 11:42:18 +00:00