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

Chalk has no concept of `Param` (https://github.com/rust-lang/chalk/blob/e0ade19d139bc784384acc6736cd960c91dd55a1/chalk-ir/src/lib.rs#L579) or `ReEarlyBound` (https://github.com/rust-lang/chalk/blob/e0ade19d139bc784384acc6736cd960c91dd55a1/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
..
2022-05-10 20:42:45 +02:00
2022-05-01 15:38:22 +03:00
2022-05-09 18:40:18 +02:00
2022-05-01 15:38:22 +03:00
2022-04-11 08:55:03 -04:00
2022-04-27 08:51:33 +01:00
2022-05-13 18:27:18 -04:00
2022-05-13 18:27:40 -04:00
2022-04-29 14:42:24 +03:00
2021-12-02 17:31:38 -08:00
2022-05-02 17:40:30 -07:00
2022-03-30 15:14:15 -04:00
2022-04-16 18:44:27 -04:00
2022-04-11 08:55:03 -04:00
2022-02-15 16:03:24 +11:00
2022-05-13 18:27:40 -04:00
2022-05-02 17:40:30 -07:00
2022-04-11 08:55:03 -04:00