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.
2 parents c7e0baf + c2e3dba commit bc29b7cCopy full SHA for bc29b7c
crates/ra_project_model/src/cargo_workspace.rs
@@ -209,6 +209,9 @@ impl CargoWorkspace {
209
for node in resolve.nodes {
210
let source = match pkg_by_id.get(&node.id) {
211
Some(&src) => src,
212
+ // FIXME: replace this and a similar branch below with `.unwrap`, once
213
+ // https://github.com/rust-lang/cargo/issues/7841
214
+ // is fixed and hits stable (around 1.43-is probably?).
215
None => {
216
log::error!("Node id do not match in cargo metadata, ignoring {}", node.id);
217
continue;
0 commit comments