mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 12:54:58 +00:00
fix(ide-db): correct single-file module rename
This commit is contained in:
parent
3fe137a5b5
commit
d98c04aac1
3 changed files with 42 additions and 8 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue