Skip to content

Commit c2e3dba

Browse files
committed
Add a FIXME note
1 parent c7e0baf commit c2e3dba

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

crates/ra_project_model/src/cargo_workspace.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,9 @@ impl CargoWorkspace {
209209
for node in resolve.nodes {
210210
let source = match pkg_by_id.get(&node.id) {
211211
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?).
212215
None => {
213216
log::error!("Node id do not match in cargo metadata, ignoring {}", node.id);
214217
continue;

0 commit comments

Comments
 (0)