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.
2 parents ee7c8b9 + 0865296 commit 7562b17Copy full SHA for 7562b17
src/tools/rust-analyzer/crates/project-model/src/workspace.rs
@@ -553,7 +553,7 @@ impl ProjectWorkspace {
553
ProjectWorkspaceKind::Json(project) => project
554
.crates()
555
.filter_map(|(_, krate)| krate.build.as_ref().map(|build| build.build_file.clone()))
556
- .map(AbsPathBuf::assert)
+ .map(|build_file| self.workspace_root().join(build_file))
557
.collect(),
558
_ => vec![],
559
}
0 commit comments