diff options
| author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2022-03-07 16:49:12 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-03-07 16:49:12 +0000 |
| commit | 49646b71d49cc3c94aa0105223be0ff71cbb6b7d (patch) | |
| tree | 533597081181df411cf4c043152f65a55f4f03dd /src/test/codegen/src-hash-algorithm | |
| parent | 18d0faf027a0ea2808b842f2dfbd7b7e12438f44 (diff) | |
| parent | 88a2141b7702a553050dc46653251550300e6269 (diff) | |
| download | rust-49646b71d49cc3c94aa0105223be0ff71cbb6b7d.tar.gz rust-49646b71d49cc3c94aa0105223be0ff71cbb6b7d.zip | |
Merge #11445
11445: Upstream inlay hints r=lnicola a=lnicola Closes https://github.com/rust-analyzer/rust-analyzer/issues/2797 Closes https://github.com/rust-analyzer/rust-analyzer/issues/3394 (since now resolve the hints for the range given only, not for the whole document. We don't actually resolve anything due to [hard requirement](https://github.com/rust-analyzer/rust-analyzer/pull/11445#issuecomment-1035227434) on label being immutable. Any further heavy actions could go to the `resolve` method that's now available via the official Code API for hints) Based on `@SomeoneToIgnore's` branch, with a couple of updates: - I squashed, more or less successfully, the commits on that branch - downloading the `.d.ts` no longer works, but you can get it manually from https://raw.githubusercontent.com/microsoft/vscode/release/1.64/src/vscode-dts/vscode.proposed.inlayHints.d.ts - you might need to pass `--enable-proposed-api matklad.rust-analyzer` - if I'm reading the definition right, `InlayHintKind` needs to be serialized as a number, not string - this doesn't work anyway -- the client-side gets the hints, but they don't display Co-authored-by: Kirill Bulatov <mail4score@gmail.com> Co-authored-by: Laurențiu Nicola <lnicola@dend.ro>
Diffstat (limited to 'src/test/codegen/src-hash-algorithm')
0 files changed, 0 insertions, 0 deletions
