From b5b44659a42cf982590519317ede9ead354f9c4e Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Fri, 21 Dec 2018 12:18:14 +0300 Subject: edits use source-root API --- crates/ra_analysis/src/lib.rs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'crates/ra_analysis/src/lib.rs') diff --git a/crates/ra_analysis/src/lib.rs b/crates/ra_analysis/src/lib.rs index 2fb11365c..c7e7dc1c0 100644 --- a/crates/ra_analysis/src/lib.rs +++ b/crates/ra_analysis/src/lib.rs @@ -173,12 +173,13 @@ pub struct SourceFileEdit { #[derive(Debug)] pub enum FileSystemEdit { CreateFile { - anchor: FileId, + source_root: SourceRootId, path: RelativePathBuf, }, MoveFile { - file: FileId, - path: RelativePathBuf, + src: FileId, + dst_source_root: SourceRootId, + dst_path: RelativePathBuf, }, } -- cgit v1.2.3