From a633a6275ab823396f57b1e93d45e58d98f8d32f Mon Sep 17 00:00:00 2001 From: kjeremy Date: Fri, 10 Jan 2020 15:30:17 -0500 Subject: Fix Write being sent down the wire. Not sure what the deal is here but it wasn't sending Write. --- crates/ra_lsp_server/src/conv.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'crates') diff --git a/crates/ra_lsp_server/src/conv.rs b/crates/ra_lsp_server/src/conv.rs index 1b93195d7..562699b7c 100644 --- a/crates/ra_lsp_server/src/conv.rs +++ b/crates/ra_lsp_server/src/conv.rs @@ -57,10 +57,10 @@ impl Conv for ReferenceAccess { type Output = ::lsp_types::DocumentHighlightKind; fn conv(self) -> Self::Output { - use lsp_types::DocumentHighlightKind::*; + use lsp_types::DocumentHighlightKind; match self { - ReferenceAccess::Read => Read, - ReferenceAccess::Write => Write, + ReferenceAccess::Read => DocumentHighlightKind::Read, + ReferenceAccess::Write => DocumentHighlightKind::Write, } } } -- cgit v1.2.3