Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rust-analyzer has changed the inlay hint label from string to array of structs where struct has the member *value* contain inlay hints. The algorithm just iterate over label array, and concats all *value* into one string that's printed out. "label": [ { "value": ": " }, { "value": "File", "location": { "uri": "file:///home/nikola/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/fs.rs", "range": { "start": { "line": 97, "character": 11 }, "end": { "line": 97, "character": 15 } } } }, { "value": "" } Close #3896 Signed-off-by: Nikola Pajkovsky <nikola@enhance.com>
- Loading branch information