mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 20:42:04 +00:00
use root-relative paths
This commit is contained in:
parent
b5b44659a4
commit
fd927ea3a9
2 changed files with 3 additions and 7 deletions
|
@ -81,7 +81,7 @@ fn test_unresolved_module_diagnostic() {
|
|||
fix: Some(SourceChange {
|
||||
label: "create module",
|
||||
source_file_edits: [],
|
||||
file_system_edits: [CreateFile { anchor: FileId(1), path: "../foo.rs" }],
|
||||
file_system_edits: [CreateFile { source_root: SourceRootId(0), path: "foo.rs" }],
|
||||
cursor_position: None }) }]"#,
|
||||
&diagnostics,
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue