aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_lsp_server/src
diff options
context:
space:
mode:
authorPascal Hertleif <[email protected]>2019-05-26 10:56:31 +0100
committerPascal Hertleif <[email protected]>2019-05-27 10:26:35 +0100
commit5abcca516d3563416d3fba9f2e4b8b024d10f846 (patch)
tree45e484435a5ee06d5a71ec7e5a9c525e7f9c7687 /crates/ra_lsp_server/src
parent2b200f6e1a600e263f314efba5d8c3743095071b (diff)
make it build again
Diffstat (limited to 'crates/ra_lsp_server/src')
-rw-r--r--crates/ra_lsp_server/src/main_loop/handlers.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_lsp_server/src/main_loop/handlers.rs b/crates/ra_lsp_server/src/main_loop/handlers.rs
index 5dfd64ed4..1df8224ba 100644
--- a/crates/ra_lsp_server/src/main_loop/handlers.rs
+++ b/crates/ra_lsp_server/src/main_loop/handlers.rs
@@ -875,7 +875,7 @@ fn highlight(world: &ServerWorld, file_id: FileId) -> Result<Vec<Decoration>> {
875 .map(|h| Decoration { 875 .map(|h| Decoration {
876 range: h.range.conv_with(&line_index), 876 range: h.range.conv_with(&line_index),
877 tag: h.tag, 877 tag: h.tag,
878 id: h.id.map(|x| x.to_string()), 878 id: h.binding_hash.map(|x| x.to_string()),
879 }) 879 })
880 .collect(); 880 .collect();
881 Ok(res) 881 Ok(res)