From aa628f474947c46871e1ec82f87be5fc99974b36 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Fri, 21 Dec 2018 11:15:23 +0300 Subject: fix SourceFileEdit name --- crates/ra_analysis/src/imp.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crates/ra_analysis/src/imp.rs') diff --git a/crates/ra_analysis/src/imp.rs b/crates/ra_analysis/src/imp.rs index b44d9297a..cefe5a748 100644 --- a/crates/ra_analysis/src/imp.rs +++ b/crates/ra_analysis/src/imp.rs @@ -25,7 +25,7 @@ use crate::{ db, symbol_index::{SymbolIndex, SymbolsDatabase, LibrarySymbolsQuery}, AnalysisChange, RootChange, Cancelable, CrateId, Diagnostic, FileId, - FileSystemEdit, FilePosition, Query, SourceChange, SourceFileNodeEdit, + FileSystemEdit, FilePosition, Query, SourceChange, SourceFileEdit, ReferenceResolution, }; @@ -518,7 +518,7 @@ impl AnalysisImpl { impl SourceChange { pub(crate) fn from_local_edit(file_id: FileId, label: &str, edit: LocalEdit) -> SourceChange { - let file_edit = SourceFileNodeEdit { + let file_edit = SourceFileEdit { file_id, edits: edit.edit.into_atoms(), }; -- cgit v1.2.3