Skip to content

Commit bcc2342

Browse files
committed
Put derive back
It is used in this file
1 parent edd3768 commit bcc2342

File tree

1 file changed

+1
-24
lines changed

1 file changed

+1
-24
lines changed

crates/ra_lsp_server/src/main.rs

Lines changed: 1 addition & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
extern crate log;
33
#[macro_use]
44
extern crate failure;
5+
#[macro_use]
56
extern crate serde_derive;
67
extern crate serde;
78
extern crate flexi_logger;
@@ -64,27 +65,3 @@ fn main_inner() -> Result<()> {
6465
info!("... IO is down");
6566
Ok(())
6667
}
67-
68-
/*
69-
(let ((backend (eglot-xref-backend)))
70-
(mapcar
71-
(lambda (xref)
72-
(let ((loc (xref-item-location xref)))
73-
(propertize
74-
(concat
75-
(when (xref-file-location-p loc)
76-
(with-slots (file line column) loc
77-
(format "%s:%s:%s:"
78-
(propertize (file-relative-name file)
79-
'face 'compilation-info)
80-
(propertize (format "%s" line)
81-
'face 'compilation-line
82-
)
83-
column)))
84-
(xref-item-summary xref))
85-
'xref xref)))
86-
(xref-backend-apropos backend "Analysis"))
87-
)
88-
89-
90-
*/

0 commit comments

Comments
 (0)