We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
mod
1 parent 77a447d commit c9e4798Copy full SHA for c9e4798
crates/ide/src/diagnostics/unlinked_file.rs
@@ -63,7 +63,7 @@ impl DiagnosticWithFix for UnlinkedFile {
63
// - `$dir.rs` in the parent folder, where `$dir` is the directory containing `self.file_id`
64
let parent = our_path.parent()?;
65
let mut paths =
66
- vec![parent.join("mod.rs")?, parent.join("main.rs")?, parent.join("lib.rs")?];
+ vec![parent.join("mod.rs")?, parent.join("lib.rs")?, parent.join("main.rs")?];
67
68
// `submod/bla.rs` -> `submod.rs`
69
if let Some(newmod) = (|| {
0 commit comments