about summary refs log tree commit diff
path: root/compiler/rustc_query_impl/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-11-06 05:26:09 +0000
committerbors <bors@rust-lang.org>2022-11-06 05:26:09 +0000
commite30fb6a26f1ac406a346cbf79b41c92e84703a28 (patch)
tree15810938d057970d6a45a82707f0c71b57fdecbc /compiler/rustc_query_impl/src
parenta4ab2e064306c2c3e5b1d2efe1d5c0e1a6e0346a (diff)
parent02f78fdb940b913228953b7530c9e429ce35bb8a (diff)
downloadrust-e30fb6a26f1ac406a346cbf79b41c92e84703a28.tar.gz
rust-e30fb6a26f1ac406a346cbf79b41c92e84703a28.zip
Auto merge of #102618 - aliemjay:simplify-closure-promote, r=compiler-errors
rework applying closure requirements in borrowck

Previously the promoted closure constraints were registered under the category `ConstraintCategory::ClosureBounds` in `type_check::prove_closure_bounds()` and then mapped back their original category in `regions_infer::best_blame_constraint` using the complicated map `closure_bounds_mapping`.

Now we're registering promoted constraints under their original category and span earlier in `type_check::prove_closure_bounds`.

See commit messages.

Fixes #99245
Diffstat (limited to 'compiler/rustc_query_impl/src')
0 files changed, 0 insertions, 0 deletions