You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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>
0 commit comments