aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_project_model/src/sysroot.rs
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2020-01-30 16:48:35 +0000
committerGitHub <[email protected]>2020-01-30 16:48:35 +0000
commitc7e0baf1a80dad5b7b2a819bbd426074c77be9d7 (patch)
treee8adea4706c75cdc92e6bb0073cddb9501ac1dfb /crates/ra_project_model/src/sysroot.rs
parent5f0b17b52dafa7b1eb1ba8934ce44857413410a7 (diff)
parentc32be4bfe8c7fd176f620c193c86ab74fa9bdee7 (diff)
Merge #2920
2920: Better handle illformed node id from metadata r=matklad a=edwin0cheng In some rare cases, deps node-id from cargo-metadata do not match its version-id, which cause a panic in `cargo-workspace.rs`. This PR try to ignore these ill-formed node id from `cargo-metadata`. An alternative is return `Err` in these cases but I think make it resilience is a better choice here. Related #2767 Co-authored-by: Edwin Cheng <[email protected]>
Diffstat (limited to 'crates/ra_project_model/src/sysroot.rs')
0 files changed, 0 insertions, 0 deletions