rust/crates
bors[bot] 1cc73d60bb
Merge #7068
7068: Add VSCode command to view the hir of a function body r=theotherphil a=theotherphil

Will fix https://github.com/rust-analyzer/rust-analyzer/issues/7061. Very rough initial version just to work out where I needed to wire everything up.

@matklad would you be happy merging a hir visualiser of some kind? If so, do you have any thoughts on what you'd like it show, and how?

I've spent very little time on this thus far, so I'm fine with throwing away the contents of this PR, but I want to avoid taking the time to make this more polished/interactive/useful only to discover that no-one else has any interest in this functionality.

![image](https://user-images.githubusercontent.com/1974256/103236081-bb58f700-493b-11eb-9d12-55ae1b870f8f.png)


Co-authored-by: Phil Ellison <phil.j.ellison@gmail.com>
2021-01-03 09:03:15 +00:00
..
arena
assists Merge #7115 2021-01-03 08:56:17 +00:00
base_db Add support for Rust 2021. 2021-01-01 17:22:23 +01:00
cfg
completion Handle case where detail doesn't exist without giving up on completion 2021-01-02 21:53:52 +11:00
flycheck
hir Merge #7068 2021-01-03 09:03:15 +00:00
hir_def Merge #7128 2021-01-03 08:49:59 +00:00
hir_expand Merge #7133 2021-01-02 17:42:45 +00:00
hir_ty Merge #7133 2021-01-02 17:42:45 +00:00
ide Merge #7068 2021-01-03 09:03:15 +00:00
ide_db Fix type error with .and_then 2021-01-02 21:53:52 +11:00
mbe Introduce HygieneFrames for proper token hyginee 2021-01-02 20:39:57 +08:00
parser Fix mbe fail to pass expr with attr 2020-12-28 19:53:00 +08:00
paths
proc_macro_api Remove serde_stacker which depends on cc 2021-01-01 15:26:55 +08:00
proc_macro_srv Fix spacing in proc-macro tokens to_string 2020-12-31 13:36:19 +08:00
proc_macro_test
profile
project_model Add support for Rust 2021. 2021-01-01 17:22:23 +01:00
rust-analyzer Merge #7068 2021-01-03 09:03:15 +00:00
ssr Remove some unneeded string allocations 2020-12-31 10:13:14 +01:00
stdx
syntax Fix warnings on rust-nightly 2021-01-02 20:48:39 +01:00
test_utils
text_edit
toolchain
tt Move TokenExpander to base_db and rename it 2020-12-27 15:29:47 +01:00
vfs
vfs-notify