From 1e0bf205eff81f04c0e1e6c208c3489327520c3f Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Wed, 11 Dec 2019 18:27:34 +0100 Subject: Revert "Support LSP 3.15" This reverts commit 712700d8e027b108f9c4f8fa9acc2f25e453b6d1. --- crates/ra_lsp_server/src/main_loop/handlers.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'crates/ra_lsp_server/src/main_loop') diff --git a/crates/ra_lsp_server/src/main_loop/handlers.rs b/crates/ra_lsp_server/src/main_loop/handlers.rs index 5b64b27cd..409583634 100644 --- a/crates/ra_lsp_server/src/main_loop/handlers.rs +++ b/crates/ra_lsp_server/src/main_loop/handlers.rs @@ -648,7 +648,6 @@ pub fn handle_code_action( diagnostics: None, edit: None, command: Some(command), - is_preferred: None, }; res.push(action.into()); } @@ -671,7 +670,6 @@ pub fn handle_code_action( diagnostics: None, edit: None, command: Some(command), - is_preferred: None, }; res.push(action.into()); } @@ -830,10 +828,9 @@ pub fn publish_diagnostics( source: Some("rust-analyzer".to_string()), message: d.message, related_information: None, - tags: None, }) .collect(); - Ok(req::PublishDiagnosticsParams { uri, diagnostics, version: None }) + Ok(req::PublishDiagnosticsParams { uri, diagnostics }) } pub fn publish_decorations( -- cgit v1.2.3