1
Fork 0
rust/compiler/rustc_borrowck/src
bors 24606deaf4 Auto merge of #104905 - compiler-errors:normalization-changes, r=spastorino
Some initial normalization method changes

1. Rename `AtExt::normalize` to `QueryNormalizeExt::query_normalize` (using the `QueryNormalizer`)
2. Introduce `NormalizeExt::normalize` to replace `partially_normalize_associated_types_in` (using the `AssocTypeNormalizer`)
3. Rename `FnCtxt::normalize_associated_types_in` to `FnCtxt::normalize`
4. Remove some unused other normalization fns in `Inherited` and `FnCtxt`

Also includes one drive-by where we're no longer creating a `FnCtxt` inside of `check_fn`, but passing it in. This means we don't need such weird `FnCtxt` construction logic.

Stacked on top of #104835 for convenience.

r? types
2022-11-30 11:13:09 +00:00
..
constraints lint auto pass 2022-11-09 20:42:16 +08:00
diagnostics Auto merge of #104905 - compiler-errors:normalization-changes, r=spastorino 2022-11-30 11:13:09 +00:00
region_infer Add more regression tests 2022-11-21 20:16:36 +00:00
type_check Prefer doc comments over //-comments in compiler 2022-11-27 11:19:04 +00:00
borrow_set.rs lint auto pass 2022-11-09 20:42:16 +08:00
borrowck_errors.rs struct error E0505 2022-11-09 21:15:31 +08:00
constraint_generation.rs lint auto pass 2022-11-09 20:42:16 +08:00
consumers.rs lint auto pass 2022-11-09 20:42:16 +08:00
dataflow.rs lint auto pass 2022-11-09 20:42:16 +08:00
def_use.rs lint auto pass 2022-11-09 20:42:16 +08:00
facts.rs lint auto pass 2022-11-09 20:42:16 +08:00
invalidation.rs lint auto pass 2022-11-09 20:42:16 +08:00
lib.rs Prefer doc comments over //-comments in compiler 2022-11-27 11:19:04 +00:00
location.rs lint auto pass 2022-11-09 20:42:16 +08:00
member_constraints.rs Give precendence to regions from member constaints when inferring concrete types. 2022-11-14 21:24:18 +00:00
nll.rs require an ErrorGuaranteed to taint infcx with errors 2022-11-18 13:25:17 +00:00
path_utils.rs lint auto pass 2022-11-09 20:42:16 +08:00
place_ext.rs lint auto pass 2022-11-09 20:42:16 +08:00
places_conflict.rs OpaqueCast projections are always overlapping, they can't possibly be disjoint 2022-11-23 14:37:13 +00:00
prefixes.rs lint auto pass 2022-11-09 20:42:16 +08:00
renumber.rs lint auto pass 2022-11-09 20:42:16 +08:00
session_diagnostics.rs struct error E0505 2022-11-09 21:15:31 +08:00
universal_regions.rs Add bug! back to late_bound_vars query 2022-10-31 21:25:08 +00:00
used_muts.rs lint auto pass 2022-11-09 20:42:16 +08:00