Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/ide/src/rename.rs')
-rw-r--r--crates/ide/src/rename.rs15
1 files changed, 13 insertions, 2 deletions
diff --git a/crates/ide/src/rename.rs b/crates/ide/src/rename.rs
index f5bff5fd91..0f8033611a 100644
--- a/crates/ide/src/rename.rs
+++ b/crates/ide/src/rename.rs
@@ -973,7 +973,7 @@ mod fo$0o;
anchor: FileId(
1,
),
- path: "foo",
+ path: "../foo",
},
src_id: FileId(
1,
@@ -982,7 +982,7 @@ mod fo$0o;
anchor: FileId(
1,
),
- path: "foo2",
+ path: "../foo2",
},
},
],
@@ -1158,6 +1158,17 @@ mod quux;
},
},
file_system_edits: [
+ MoveFile {
+ src: FileId(
+ 1,
+ ),
+ dst: AnchoredPathBuf {
+ anchor: FileId(
+ 1,
+ ),
+ path: "foo2.rs",
+ },
+ },
MoveDir {
src: AnchoredPathBuf {
anchor: FileId(