rust-analyzer/crates
bors[bot] cfa26c3ac3
Merge #10798
10798: ide: show go to for function hover return type r=Veykril a=jhgg

I've found myself wanting this...  adds to the hover quick go-to for a function's return type:

![image](https://user-images.githubusercontent.com/5489149/142375722-4a385216-494b-45a4-be1c-59664213b8d6.png)

This is particularly useful when you are hovering over a function in a long chain, like:

```rust
foo.bar().b$0az().some_trait_fn();
```

where `baz`'s return type is not immediately obvious, but the chain is not long enough to trigger chain inlay hints... 

i guess I could just select `foo.bar().baz()` too to get the types too... 

Co-authored-by: Jake Heinz <jh@discordapp.com>
2021-11-18 09:56:44 +00:00
..
base_db Expose version string of crates fom HIR 2021-11-03 15:40:06 +01:00
cfg Replace some String usages with SmolStr in completions 2021-11-05 12:30:39 +01:00
flycheck Allow the check command to terminate without output 2021-11-12 11:43:20 -08:00
hir Merge #10796 2021-11-18 09:48:10 +00:00
hir_def Simplify 2021-11-17 21:02:33 +01:00
hir_expand Check for derive attributes by item path, not derive identifier 2021-11-17 20:46:57 +01:00
hir_ty Check for derive attributes by item path, not derive identifier 2021-11-17 20:46:57 +01:00
ide Merge #10798 2021-11-18 09:56:44 +00:00
ide_assists Merge #10734 2021-11-16 11:27:11 +00:00
ide_completion minor: Simplify 2021-11-16 19:28:32 +01:00
ide_db minor: Lift out FxIndex{Map/Set} types into ide_db 2021-11-16 12:15:47 +01:00
ide_diagnostics Replace more Name::to_string usages with Name::to_smol_str 2021-11-04 18:12:05 +01:00
ide_ssr Merge #10698 2021-11-07 11:02:39 +00:00
limit Drop resolver and authors manifest entries 2021-10-25 18:12:40 +03:00
mbe internal: replace L_DOLLAR/R_DOLLAR with parenthesis hack 2021-10-23 20:44:31 +03:00
parser fix: parse the range pat inside the tuple pat 2021-11-18 11:11:37 +08:00
paths Set MSRV 2021-10-23 15:07:11 +03:00
proc_macro_api Bump object avoid a duplicate dependency 2021-10-30 09:02:45 +03:00
proc_macro_srv Fix proc macro ABI version checks 2021-11-18 10:24:24 +02:00
proc_macro_test Set MSRV 2021-10-23 15:07:11 +03:00
profile Allow disabling perf access via RA_DISABLE_PERF 2021-11-16 19:42:19 +01:00
project_model Merge #10691 2021-11-04 05:52:05 +00:00
rust-analyzer Simplify 2021-11-17 21:02:33 +01:00
sourcegen Set MSRV 2021-10-23 15:07:11 +03:00
stdx Set MSRV 2021-10-23 15:07:11 +03:00
syntax fix: parse the range pat inside the tuple pat 2021-11-18 11:11:37 +08:00
test_utils Set MSRV 2021-10-23 15:07:11 +03:00
text_edit Update crates/text_edit/src/lib.rs 2021-11-03 15:44:46 +01:00
toolchain Set MSRV 2021-10-23 15:07:11 +03:00
tt Set MSRV 2021-10-23 15:07:11 +03:00
vfs minor: Lift out FxIndex{Map/Set} types into ide_db 2021-11-16 12:15:47 +01:00
vfs-notify Set MSRV 2021-10-23 15:07:11 +03:00