diff options
Diffstat (limited to 'crates/ra_lsp_server/src')
-rw-r--r-- | crates/ra_lsp_server/src/conv.rs | 6 |
1 files changed, 3 insertions, 3 deletions
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 { | |||
57 | type Output = ::lsp_types::DocumentHighlightKind; | 57 | type Output = ::lsp_types::DocumentHighlightKind; |
58 | 58 | ||
59 | fn conv(self) -> Self::Output { | 59 | fn conv(self) -> Self::Output { |
60 | use lsp_types::DocumentHighlightKind::*; | 60 | use lsp_types::DocumentHighlightKind; |
61 | match self { | 61 | match self { |
62 | ReferenceAccess::Read => Read, | 62 | ReferenceAccess::Read => DocumentHighlightKind::Read, |
63 | ReferenceAccess::Write => Write, | 63 | ReferenceAccess::Write => DocumentHighlightKind::Write, |
64 | } | 64 | } |
65 | } | 65 | } |
66 | } | 66 | } |