diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-01-30 16:48:35 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2020-01-30 16:48:35 +0000 |
commit | c7e0baf1a80dad5b7b2a819bbd426074c77be9d7 (patch) | |
tree | e8adea4706c75cdc92e6bb0073cddb9501ac1dfb /crates/ra_syntax/test_data/parser/ok/0019_enums.rs | |
parent | 5f0b17b52dafa7b1eb1ba8934ce44857413410a7 (diff) | |
parent | c32be4bfe8c7fd176f620c193c86ab74fa9bdee7 (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_syntax/test_data/parser/ok/0019_enums.rs')
0 files changed, 0 insertions, 0 deletions