diff options
Diffstat (limited to 'crates')
-rw-r--r-- | crates/rust-analyzer/tests/rust-analyzer/main.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/rust-analyzer/tests/rust-analyzer/main.rs b/crates/rust-analyzer/tests/rust-analyzer/main.rs index 91e502d8a..c4554e9d3 100644 --- a/crates/rust-analyzer/tests/rust-analyzer/main.rs +++ b/crates/rust-analyzer/tests/rust-analyzer/main.rs | |||
@@ -785,7 +785,7 @@ fn main() {} | |||
785 | "documentChanges": [ | 785 | "documentChanges": [ |
786 | { | 786 | { |
787 | "textDocument": { | 787 | "textDocument": { |
788 | "uri": format!("file://{}", tmp_dir_path.join("src").join("lib.rs")), | 788 | "uri": format!("file://{}", tmp_dir_path.join("src").join("lib.rs").to_str().unwrap()), |
789 | "version": null | 789 | "version": null |
790 | }, | 790 | }, |
791 | "edits": [ | 791 | "edits": [ |
@@ -846,7 +846,7 @@ fn main() {} | |||
846 | "documentChanges": [ | 846 | "documentChanges": [ |
847 | { | 847 | { |
848 | "textDocument": { | 848 | "textDocument": { |
849 | "uri": format!("file://{}", tmp_dir_path.join("src").join("lib.rs")), | 849 | "uri": format!("file://{}", tmp_dir_path.join("src").join("lib.rs").to_str().unwrap()), |
850 | "version": null | 850 | "version": null |
851 | }, | 851 | }, |
852 | "edits": [ | 852 | "edits": [ |