rust/compiler/rustc_trait_selection/src
bors cb4d9a1902 Auto merge of #119101 - compiler-errors:outlives, r=lcnr
Normalize region obligation in lexical region resolution with next-gen solver

This normalizes region obligations when we `resolve_regions`, since they may be unnormalized with deferred projection equality.

It's pretty hard to add tests that exercise this without also triggering MIR borrowck errors (because we don't normalize there yet). I've added one test with two revisions that should test that we both 1. normalize region obligations in the param env, and 2. normalize registered region obligations during lexical region resolution.
2024-01-30 19:22:04 +00:00
..
solve merge builtin unsize candidates again 2024-01-29 14:32:06 +01:00
traits Auto merge of #119101 - compiler-errors:outlives, r=lcnr 2024-01-30 19:22:04 +00:00
errors.rs Stop using String for error codes. 2024-01-29 07:41:41 +11:00
infer.rs Make InferCtxtExt::could_impl_trait less messed up 2024-01-13 22:00:34 +00:00
lib.rs Deeply normalize when processing registered region obligations 2024-01-30 00:06:53 +00:00
regions.rs Apply suggestions from review 2024-01-30 00:09:58 +00:00