about summary refs log tree commit diff
path: root/tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.diff
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2021-11-18 09:56:44 +0000
committerGitHub <noreply@github.com>2021-11-18 09:56:44 +0000
commitcfa26c3ac3d85d502f75c2f6b760aadcc997a1a8 (patch)
tree8eb602f8a17f2725cb6d0053e1434da6a0220229 /tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.diff
parentbf8cf09967b79fc6c6556b1c319e70a829c13ac9 (diff)
parent876f44b3eabf41c6835d8116eda03f8dcaf15f9d (diff)
downloadrust-cfa26c3ac3d85d502f75c2f6b760aadcc997a1a8.tar.gz
rust-cfa26c3ac3d85d502f75c2f6b760aadcc997a1a8.zip
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>
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.diff')
0 files changed, 0 insertions, 0 deletions