Update inlay hint feature docs

This commit is contained in:
Lukas Wirth 2022-03-20 14:41:27 +01:00
parent 37b48ceb8f
commit 5a87f09a71

View File

@ -67,10 +67,7 @@ pub struct InlayHint {
// //
// * return types of closure expressions with blocks // * return types of closure expressions with blocks
// * elided lifetimes // * elided lifetimes
// // * compiler inserted reborrows
// **Note:** VS Code does not have native support for inlay hints https://github.com/microsoft/vscode/issues/16221[yet] and the hints are implemented using decorations.
// This approach has limitations, the caret movement and bracket highlighting near the edges of the hint may be weird:
// https://github.com/rust-analyzer/rust-analyzer/issues/1623[1], https://github.com/rust-analyzer/rust-analyzer/issues/3453[2].
// //
// |=== // |===
// | Editor | Action Name // | Editor | Action Name