From bcc2342be6e0206bfd945967e168c08b9d373525 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Sun, 2 Dec 2018 12:27:30 +0300 Subject: Put derive back It is used in this file --- crates/ra_lsp_server/src/main.rs | 25 +------------------------ 1 file changed, 1 insertion(+), 24 deletions(-) (limited to 'crates/ra_lsp_server/src') diff --git a/crates/ra_lsp_server/src/main.rs b/crates/ra_lsp_server/src/main.rs index 173418520..8301a1044 100644 --- a/crates/ra_lsp_server/src/main.rs +++ b/crates/ra_lsp_server/src/main.rs @@ -2,6 +2,7 @@ extern crate log; #[macro_use] extern crate failure; +#[macro_use] extern crate serde_derive; extern crate serde; extern crate flexi_logger; @@ -64,27 +65,3 @@ fn main_inner() -> Result<()> { info!("... IO is down"); Ok(()) } - -/* - (let ((backend (eglot-xref-backend))) - (mapcar - (lambda (xref) - (let ((loc (xref-item-location xref))) - (propertize - (concat - (when (xref-file-location-p loc) - (with-slots (file line column) loc - (format "%s:%s:%s:" - (propertize (file-relative-name file) - 'face 'compilation-info) - (propertize (format "%s" line) - 'face 'compilation-line - ) - column))) - (xref-item-summary xref)) - 'xref xref))) - (xref-backend-apropos backend "Analysis")) - ) - - -*/ -- cgit v1.2.3