rust/compiler/rustc_trait_selection/src
Matthias Krüger 012ce8ae98
Rollup merge of #120513 - compiler-errors:normalize-regions-for-nll, r=lcnr
Normalize type outlives obligations in NLL for new solver

Normalize the type outlives assumptions and obligations in MIR borrowck. This should fix any of the lazy-norm-related MIR borrowck problems.

Also some cleanups from last PR:
1. Normalize obligations in a loop in lexical region resolution
2. Use `deeply_normalize_with_skipped_universes` in lexical resolution since we may have, e.g. `for<'a> Alias<'a>: 'b`.

r? lcnr
2024-02-06 22:45:43 +01:00
..
solve More comments, final tweaks 2024-02-06 02:22:58 +00:00
traits Rollup merge of #120513 - compiler-errors:normalize-regions-for-nll, r=lcnr 2024-02-06 22:45:43 +01: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 Normalize the whole PolyTypeOutlivesPredicate, more simplifications 2024-02-02 18:31:35 +00:00