mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 04:44:57 +00:00
Forbid canonicalization of paths and normalize all rust-project.json paths
This commit is contained in:
parent
60f4b3e26e
commit
939ebb4454
4 changed files with 17 additions and 25 deletions
|
@ -179,7 +179,6 @@ impl ProjectWorkspace {
|
|||
};
|
||||
let res = match manifest {
|
||||
ProjectManifest::ProjectJson(project_json) => {
|
||||
let project_json = project_json.canonicalize()?;
|
||||
let file = fs::read_to_string(&project_json).with_context(|| {
|
||||
format!("Failed to read json file {}", project_json.display())
|
||||
})?;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue