diff options
| author | bors <bors@rust-lang.org> | 2023-12-11 13:34:51 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-12-11 13:34:51 +0000 |
| commit | 3aa630672893fff37a3ab83d391267ead3507c97 (patch) | |
| tree | 7836ee958a94a262650559e7cf1da212bc7c24aa /tests/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs | |
| parent | 457b966b171b09a7e57acb710fbca29a4b3526f0 (diff) | |
| parent | 8ae42b55e79a127c811d85411ecea204b9529091 (diff) | |
| download | rust-3aa630672893fff37a3ab83d391267ead3507c97.tar.gz rust-3aa630672893fff37a3ab83d391267ead3507c97.zip | |
Auto merge of #16089 - SomeoneToIgnore:fix-parameter-inlay-hints-resolution, r=Veykril
Query for nearest parent block around the hint to resolve This way, parameter hints will be found for resolution and https://github.com/rust-lang/rust-analyzer/pull/15522#issuecomment-1835896335 will be fixed Hopefully that also helps with whatever else (lifetimes', etc.) hints in https://github.com/rust-lang/rust-analyzer/issues/13962 > hints are resolved by querying for textDocument/inlayHint with hint's position turned into a [position-1, position+1] range (instead of the original, much wider document range). > > This might lead to issues in the future, with e.g. lifetime hints (currently there's nothing to resolve for them and it's fine) that belong to a certain position, but need to have textDocument/inlayHint query for much bigger range than their position+/-1
Diffstat (limited to 'tests/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions
