aboutsummaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
Diffstat (limited to 'crates')
-rw-r--r--crates/ra_lsp_server/src/main_loop/handlers.rs2
-rw-r--r--crates/ra_lsp_server/src/req.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/crates/ra_lsp_server/src/main_loop/handlers.rs b/crates/ra_lsp_server/src/main_loop/handlers.rs
index 1df8224ba..e36db12b3 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.binding_hash.map(|x| x.to_string()), 878 binding_hash: h.binding_hash.map(|x| x.to_string()),
879 }) 879 })
880 .collect(); 880 .collect();
881 Ok(res) 881 Ok(res)
diff --git a/crates/ra_lsp_server/src/req.rs b/crates/ra_lsp_server/src/req.rs
index cea0e6ce7..992c24eac 100644
--- a/crates/ra_lsp_server/src/req.rs
+++ b/crates/ra_lsp_server/src/req.rs
@@ -129,7 +129,7 @@ pub struct PublishDecorationsParams {
129pub struct Decoration { 129pub struct Decoration {
130 pub range: Range, 130 pub range: Range,
131 pub tag: &'static str, 131 pub tag: &'static str,
132 pub id: Option<String>, 132 pub binding_hash: Option<String>,
133} 133}
134 134
135pub enum ParentModule {} 135pub enum ParentModule {}