rust/compiler/rustc_middle/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
..
dep_graph Stop using CRATE_DEF_INDEX. 2022-04-17 12:14:42 +02:00
hir Auto merge of #96094 - Elliot-Roberts:fix_doctests, r=compiler-errors 2022-05-07 06:30:29 +00:00
infer fix most compiler/ doctests 2022-05-02 17:40:30 -07:00
middle only compute codegen_fn_attrs where needed 2022-05-09 18:40:18 +02:00
mir Auto merge of #96883 - jackh726:early-binder-2, r=oli-obk 2022-05-14 23:53:11 +00:00
query Auto merge of #95562 - lcnr:attr-no-encode, r=davidtwco 2022-05-12 12:48:30 +00:00
thir Reimplement lowering of sym operands for asm! so that it also works with global_asm! 2022-04-14 15:32:03 +01:00
traits Gracefully fail to resolve associated items instead of delay_span_bug. 2022-05-11 08:28:02 +02:00
ty Auto merge of #96883 - jackh726:early-binder-2, r=oli-obk 2022-05-14 23:53:11 +00:00
util span: move MultiSpan 2022-04-05 07:01:00 +01:00
arena.rs Document and rename the new wrapper type 2022-04-07 13:01:48 +00:00
lib.rs Remove PartialOrd/Ord impl for PlaceRef 2022-05-11 16:22:23 -04:00
lint.rs Move lint expectation checking into a separate query (RFC 2383) 2022-05-08 14:37:14 +02:00
macros.rs Rename TypeFolderFallible to FallibleTypeFolder 2021-12-02 16:14:18 +00:00
metadata.rs resolve/metadata: Stop encoding macros as reexports 2022-02-24 22:55:40 +03:00
tests.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
thir.rs Make all thir types implement clone 2022-04-20 00:11:08 +02:00