1
Fork 0
rust/compiler/rustc_borrowck/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
..
constraints Replace no_ord_impl with orderable. 2023-11-22 18:38:17 +11:00
diagnostics Remove the lifetime from DiagnosticArgValue. 2024-01-30 18:46:06 +11:00
polonius compiler: Lower fn call arg spans down to MIR 2024-01-15 19:07:11 +01:00
region_infer Auto merge of #120003 - Mark-Simulacrum:opt-promoted, r=davidtwco 2024-01-20 11:21:28 +00:00
type_check Apply suggestions from review 2024-01-30 00:09:58 +00:00
util
borrow_set.rs Fix clippy::needless_borrow in the compiler 2023-11-21 20:13:40 +01:00
borrowck_errors.rs Stop using String for error codes. 2024-01-29 07:41:41 +11:00
consumers.rs Fix redundant explicit link in rustc_borrowck 2023-08-19 02:22:13 +08:00
dataflow.rs remove redundant imports 2023-12-10 10:56:22 +08:00
def_use.rs rename BorrowKind::Shallow to Fake 2023-11-08 22:55:28 +01:00
facts.rs introduce Polonius enum for -Zpolonius 2023-10-04 16:16:12 +00:00
lib.rs Remove unused features 2024-01-25 14:01:33 +00:00
location.rs Replace no_ord_impl with orderable. 2023-11-22 18:38:17 +11:00
member_constraints.rs
nll.rs Move PointIndex to mir_dataflow. 2024-01-07 20:07:35 +00:00
path_utils.rs Remove Upvar duplication 2023-11-26 13:19:10 -05:00
place_ext.rs use PlaceRef abstractions more consistently 2023-06-25 20:38:01 -04:00
places_conflict.rs rename BorrowKind::Shallow to Fake 2023-11-08 22:55:28 +01:00
prefixes.rs Add docs, remove code, change subtyper code 2023-10-02 23:39:44 +03:00
renumber.rs add fixme to RegionCtxt 2023-11-13 14:13:54 +00:00
session_diagnostics.rs Stop using String for error codes. 2024-01-29 07:41:41 +11:00
universal_regions.rs Simplify closure_env_ty and closure_env_param 2024-01-14 19:15:46 +00:00
used_muts.rs Fix clippy::needless_borrow in the compiler 2023-11-21 20:13:40 +01:00