rust/compiler/rustc_borrowck/src
bors 2a8a0fc423 Auto merge of #96883 - jackh726:early-binder-2, r=oli-obk
Add EarlyBinder

Chalk has no concept of `Param` (e0ade19d13/chalk-ir/src/lib.rs (L579)) or `ReEarlyBound` (e0ade19d13/chalk-ir/src/lib.rs (L1308)). Everything  is just "bound" - the equivalent of rustc's late-bound. It's not completely clear yet whether to move everything to the same time of binder in rustc or add `Param` and `ReEarlyBound` in Chalk.

Either way, tracking when we have or haven't already substituted out these in rustc can be helpful.

As a first step, I'm just adding a `EarlyBinder` newtype that is required to call `subst`. I also add a couple "transparent" `bound_*` wrappers around a couple query that are often immediately substituted.

r? `@nikomatsakis`
2022-05-14 23:53:11 +00:00
..
constraints Make the lifetime accurate which is used in the region constraints part 2022-04-22 20:05:39 +08:00
diagnostics Introduce EarlyBinder 2022-05-10 22:47:18 -04:00
region_infer For non-defining opaque type usage errors, don't try to also prove all trait bounds 2022-05-13 10:09:11 +00:00
type_check fix most compiler/ doctests 2022-05-02 17:40:30 -07:00
borrow_set.rs Remove mutable_borrow_reservation_conflict lint 2022-04-20 22:10:46 -04:00
borrowck_errors.rs span: move MultiSpan 2022-04-05 07:01:00 +01:00
constraint_generation.rs Overhaul RegionKind and Region. 2022-02-15 16:08:52 +11:00
consumers.rs Add InferCtxt::with_opaque_type_inference to get_body_with_borrowck_facts 2021-10-06 19:07:56 -07:00
dataflow.rs Add new Deinit statement kind 2022-04-11 08:55:03 -04:00
def_use.rs Add new MutatatingUseContexts for deinit and SetDiscriminant 2022-04-11 09:26:26 -04:00
facts.rs Move the dataflow framework to its own crate. 2021-09-07 19:57:07 +02:00
invalidation.rs Add new Deinit statement kind 2022-04-11 08:55:03 -04:00
lib.rs Auto merge of #96268 - jackh726:remove-mutable_borrow_reservation_conflict-lint, r=nikomatsakis 2022-05-06 12:32:44 +00:00
location.rs add #[rustc_pass_by_value] to more types 2022-03-08 15:39:52 +01:00
member_constraints.rs fix most compiler/ doctests 2022-05-02 17:40:30 -07:00
nll.rs Report opaque type mismatches directly during borrowck of the function instead of within the type_of query. 2022-04-07 13:39:52 +00:00
path_utils.rs Remove in_band_lifetimes from borrowck 2021-12-15 08:39:21 +01:00
place_ext.rs Move rustc_mir::borrow_check to new crate rustc_borrowck. 2021-09-07 00:29:22 +02:00
places_conflict.rs 3 - Make more use of let_chains 2022-02-27 11:10:20 -03:00
prefixes.rs Move rustc_mir::borrow_check to new crate rustc_borrowck. 2021-09-07 00:29:22 +02:00
renumber.rs Overhaul Const. 2022-02-15 16:19:59 +11:00
universal_regions.rs Add bound_type_of 2022-05-13 18:27:18 -04:00
used_muts.rs Move rustc_mir::borrow_check to new crate rustc_borrowck. 2021-09-07 00:29:22 +02:00