mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 22:31:43 +00:00
fix usages after rename
This commit is contained in:
parent
6bca91af53
commit
5b573deb20
30 changed files with 4280 additions and 31 deletions
|
@ -8,7 +8,7 @@ use languageserver_types::{
|
|||
ParameterInformation, ParameterLabel, Position, PrepareRenameResponse, Range, RenameParams,
|
||||
SignatureInformation, SymbolInformation, TextDocumentIdentifier, TextEdit, WorkspaceEdit,
|
||||
};
|
||||
use ra_analysis::{
|
||||
use ra_ide_api::{
|
||||
FileId, FilePosition, FileRange, FoldKind, Query, RunnableKind, Severity, SourceChange,
|
||||
};
|
||||
use ra_syntax::{TextUnit, AstNode};
|
||||
|
@ -736,7 +736,7 @@ fn highlight(world: &ServerWorld, file_id: FileId) -> Result<Vec<Decoration>> {
|
|||
}
|
||||
|
||||
fn to_diagnostic_severity(severity: Severity) -> DiagnosticSeverity {
|
||||
use ra_analysis::Severity::*;
|
||||
use ra_ide_api::Severity::*;
|
||||
|
||||
match severity {
|
||||
Error => DiagnosticSeverity::Error,
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
use ra_analysis::FileId;
|
||||
use ra_ide_api::FileId;
|
||||
use rustc_hash::FxHashSet;
|
||||
|
||||
pub struct Subscriptions {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue