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.
1 parent ee7c8b9 commit 0865296Copy full SHA for 0865296
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