rust/crates
bors 2f1b7cedcf Auto merge of #14971 - lowr:fix/captured-item-ty-outer-binder, r=HKalbasi
fix: consider outer binders when folding captured items' type

Fixes #14966

Basically, the crash is caused by us producing a broken type and passing it to chalk: `&dyn for<type> [for<> Implemented(^1.0: A<^0.0>)]` (notice the innermost bound var `^0.0` has no corresponding binder). It's created in `CapturedItemWithoutTy::with_ty()`, which didn't consider outer binders when folding types to replace placeholders with bound variables.

The fix is one-liner, but I've also refactored the surrounding code a little.
2023-06-04 18:25:23 +00:00
..
base-db Add diagnostic for _ expressions (typed holes) 2023-05-28 14:55:28 +02:00
cfg Allow setting cfgs 2023-05-28 13:43:21 +02:00
flycheck Wrap platform-specific QoS in r-a-specific “thread intent” 2023-05-28 20:37:38 +10:00
hir Detect "bound more than once" error and suppress need-mut for it. 2023-06-04 12:39:36 +03:30
hir-def Auto merge of #14970 - HKalbasi:mir-fix, r=HKalbasi 2023-06-04 09:33:53 +00:00
hir-expand Don't add --all-targets to runnables for no-std crates 2023-05-28 14:18:44 +02:00
hir-ty Auto merge of #14971 - lowr:fix/captured-item-ty-outer-binder, r=HKalbasi 2023-06-04 18:25:23 +00:00
ide Auto merge of #14950 - HKalbasi:render-const, r=HKalbasi 2023-06-02 13:59:47 +00:00
ide-assists Improve assist to filter invalid params 2023-06-02 12:46:01 +02:00
ide-completion Slightly shrink DefMap 2023-06-01 14:46:36 +02:00
ide-db Slightly shrink DefMap 2023-06-01 14:46:36 +02:00
ide-diagnostics Fix missing terminator for slice pattern 2023-06-04 20:59:27 +03:30
ide-ssr internal: Replace Display impl for Name 2023-05-24 20:55:12 +02:00
intern Remove double lookups from Interned 2023-05-24 12:54:25 +02:00
limit
mbe Implement ${count()} metavariable expression 2023-05-28 19:54:36 +09:00
parser fix: assignment operators are right associative 2023-06-03 19:58:35 +09:00
paths Add AbsPath::absolutize 2023-05-13 11:51:28 +02:00
proc-macro-api
proc-macro-srv Add proof-of-concept QoS implementation 2023-05-20 22:29:32 +10:00
proc-macro-srv-cli
proc-macro-test
profile
project-model fix: Don't duplicate sysroot crates in rustc workspace 2023-05-31 15:37:35 +02:00
rust-analyzer Update builtin attribute list 2023-06-04 10:02:11 +02:00
sourcegen
stdx Wrap platform-specific QoS in r-a-specific “thread intent” 2023-05-28 20:37:38 +10:00
syntax Auto merge of #14842 - alibektas:internal/ast-make-improve, r=Veykril 2023-05-30 16:09:46 +00:00
test-utils Update builtin attribute list 2023-06-04 10:02:11 +02:00
text-edit
toolchain
tt
vfs Auto merge of #14755 - poliorcetics:clippy-fixes, r=Veykril 2023-05-24 11:13:52 +00:00
vfs-notify Wrap platform-specific QoS in r-a-specific “thread intent” 2023-05-28 20:37:38 +10:00