diff options
author | Aleksey Kladov <[email protected]> | 2019-01-08 19:33:36 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-01-08 19:33:36 +0000 |
commit | 5b573deb20b15451788dd2861e9fc6e69ed0472e (patch) | |
tree | 0b9438789c69af28fd1d91ca3c25c268ef103bac /crates/ra_lsp_server/src/main_loop/handlers.rs | |
parent | 6bca91af532d79abbced5b151cb4188ff8625c04 (diff) |
fix usages after rename
Diffstat (limited to 'crates/ra_lsp_server/src/main_loop/handlers.rs')
-rw-r--r-- | crates/ra_lsp_server/src/main_loop/handlers.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/ra_lsp_server/src/main_loop/handlers.rs b/crates/ra_lsp_server/src/main_loop/handlers.rs index b7777bfc3..a653c5ada 100644 --- a/crates/ra_lsp_server/src/main_loop/handlers.rs +++ b/crates/ra_lsp_server/src/main_loop/handlers.rs | |||
@@ -8,7 +8,7 @@ use languageserver_types::{ | |||
8 | ParameterInformation, ParameterLabel, Position, PrepareRenameResponse, Range, RenameParams, | 8 | ParameterInformation, ParameterLabel, Position, PrepareRenameResponse, Range, RenameParams, |
9 | SignatureInformation, SymbolInformation, TextDocumentIdentifier, TextEdit, WorkspaceEdit, | 9 | SignatureInformation, SymbolInformation, TextDocumentIdentifier, TextEdit, WorkspaceEdit, |
10 | }; | 10 | }; |
11 | use ra_analysis::{ | 11 | use ra_ide_api::{ |
12 | FileId, FilePosition, FileRange, FoldKind, Query, RunnableKind, Severity, SourceChange, | 12 | FileId, FilePosition, FileRange, FoldKind, Query, RunnableKind, Severity, SourceChange, |
13 | }; | 13 | }; |
14 | use ra_syntax::{TextUnit, AstNode}; | 14 | use ra_syntax::{TextUnit, AstNode}; |
@@ -736,7 +736,7 @@ fn highlight(world: &ServerWorld, file_id: FileId) -> Result<Vec<Decoration>> { | |||
736 | } | 736 | } |
737 | 737 | ||
738 | fn to_diagnostic_severity(severity: Severity) -> DiagnosticSeverity { | 738 | fn to_diagnostic_severity(severity: Severity) -> DiagnosticSeverity { |
739 | use ra_analysis::Severity::*; | 739 | use ra_ide_api::Severity::*; |
740 | 740 | ||
741 | match severity { | 741 | match severity { |
742 | Error => DiagnosticSeverity::Error, | 742 | Error => DiagnosticSeverity::Error, |