diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-04-11 12:41:40 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2020-04-11 12:41:40 +0100 |
commit | 54bdb9c78b012c560efc142971dc3e724989e807 (patch) | |
tree | d24668768ab0a9232c19878703a6c5bd94eb40d4 /crates/ra_project_model | |
parent | beb755caa2b1d7265da7d3367af3b49039dfe00e (diff) | |
parent | 73e512215afada62316a7b057bd78d8c9727adca (diff) |
Merge #3939
3939: Fix non canonicallized path from metadata r=matklad a=edwin0cheng
Crate root path obtained from cargo-metadata may contains non-canonicalized path (e.g. `/foo/../libcore/tests/lib.rs`), such that `vfs::load` will find a incorrect root.
This PR try to fix that by canonicalize it before passing to vfs.
Co-authored-by: Edwin Cheng <[email protected]>
Diffstat (limited to 'crates/ra_project_model')
0 files changed, 0 insertions, 0 deletions