diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-02-23 09:25:40 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2020-02-23 09:25:40 +0000 |
commit | 1651ce0ebe1cf1d51541a04457f72595d669c967 (patch) | |
tree | 29529e62a16e8ac5db32706c6f44402bbc575c2b /crates/ra_hir_def/src/nameres/tests | |
parent | 650586a83869d6769c3d0fb94ffd2ccfcbd97db5 (diff) | |
parent | ca4557ac524c104bff03d5f6dfc7bece7c919608 (diff) |
Merge #3278
3278: Show more inlay hints r=matklad a=SomeoneToIgnore
Closes https://github.com/rust-analyzer/rust-analyzer/issues/3273
As suggested in https://github.com/rust-analyzer/rust-analyzer/pull/1606#discussion_r308146363 , there is a simpler way to handle inlay hints after https://github.com/rust-analyzer/rust-analyzer/issues/1618 is closed.
This PR uses the approach suggested (which results in more type hints for various bindings) and also adds more name hints for function parameters.
Examples can be found in the issue:
* https://github.com/rust-analyzer/rust-analyzer/issues/3273#issuecomment-589998051
* https://github.com/rust-analyzer/rust-analyzer/issues/3273#issuecomment-590002839
Co-authored-by: Kirill Bulatov <[email protected]>
Diffstat (limited to 'crates/ra_hir_def/src/nameres/tests')
0 files changed, 0 insertions, 0 deletions