mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-13 13:48:50 +00:00
Put derive back
It is used in this file
This commit is contained in:
parent
edd3768a44
commit
bcc2342be6
1 changed files with 1 additions and 24 deletions
|
@ -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"))
|
||||
)
|
||||
|
||||
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue