rust-analyzer/crates
bors[bot] 5c336e266f
Merge #5968
5968: Lookup ADT and associated type names for chalk debugging / tweak chalk interner r=flodiebold a=nathanwhit

This PR improves the chalk program writing integration by looking up the names for ADTs and associated types, making the output much more readable.

There are also a few small changes to the interner, which gives some nice performance improvements. We clone `Ty`s and `ProgramClause`s relatively often in chalk, so wrapping them in `Arc`s is a perf win. This takes the time for performing type inference on the rust-analyzer codebase from 40s to 33s on my machine.

Co-authored-by: Nathan Whitaker <nathan.whitaker01@gmail.com>
2020-09-09 17:20:39 +00:00
..
arena Add TBD description to arena 2020-08-24 13:29:10 +02:00
assists Merge #5940 2020-09-04 21:54:42 +00:00
base_db Add description for crates that will be published 2020-08-24 13:07:22 +02:00
cfg Add description for crates that will be published 2020-08-24 13:07:22 +02:00
flycheck Add description for crates that will be published 2020-08-24 13:07:22 +02:00
hir Tease apart orthogonal concerns in markdown link rewriting 2020-08-26 20:24:00 +02:00
hir_def ⬆️ expect-test 2020-08-28 14:47:14 +02:00
hir_expand Bump token expansion limit 2020-09-01 14:55:41 +02:00
hir_ty Merge #5968 2020-09-09 17:20:39 +00:00
ide Document VS Code setting needed for on-typing assists 2020-09-01 23:40:53 +10:00
ide_db Add description for crates that will be published 2020-08-24 13:07:22 +02:00
mbe Add description for crates that will be published 2020-08-24 13:07:22 +02:00
parser Up proc-macro2 to 1.20 2020-09-03 17:40:12 -04:00
paths Add description for crates that will be published 2020-08-24 13:07:22 +02:00
proc_macro_api Add description for crates that will be published 2020-08-24 13:07:22 +02:00
proc_macro_srv Add description for crates that will be published 2020-08-24 13:07:22 +02:00
proc_macro_test Add description for crates that will be published 2020-08-24 13:07:22 +02:00
profile Add description for crates that will be published 2020-08-24 13:07:22 +02:00
project_model Add sysroot shortcut to rust-project.json 2020-08-25 19:41:56 +02:00
rust-analyzer default checkOnSave.enable to true in server 2020-09-02 17:44:21 -04:00
ssr ⬆️ expect-test 2020-08-28 14:47:14 +02:00
stdx Add description for crates that will be published 2020-08-24 13:07:22 +02:00
syntax Merge #5940 2020-09-04 21:54:42 +00:00
test_utils Add description for crates that will be published 2020-08-24 13:07:22 +02:00
text_edit Actually assert disjointness 2020-09-03 13:37:36 +02:00
toolchain Add description for crates that will be published 2020-08-24 13:07:22 +02:00
tt Add description for crates that will be published 2020-08-24 13:07:22 +02:00
vfs Add description for crates that will be published 2020-08-24 13:07:22 +02:00
vfs-notify Add description for crates that will be published 2020-08-24 13:07:22 +02:00