about summary refs log tree commit diff
path: root/compiler/rustc_resolve/src
diff options
context:
space:
mode:
authorMara Bos <m-ou.se@m-ou.se>2020-11-03 19:32:44 +0100
committerGitHub <noreply@github.com>2020-11-03 19:32:44 +0100
commita65507b47da110cc4a998036a18aaea77f8ddb81 (patch)
tree701e3374626a1067dca5b9cefe0e5ea4156e1374 /compiler/rustc_resolve/src
parentf9dd8d37c2c19f763443a615c47add896bb933bb (diff)
parent2172adbd5c42eee3926939f93e557bdb2eb1df95 (diff)
downloadrust-a65507b47da110cc4a998036a18aaea77f8ddb81.tar.gz
rust-a65507b47da110cc4a998036a18aaea77f8ddb81.zip
Rollup merge of #78709 - ehuss:fix-in_tree_crates-non-member, r=Mark-Simulacrum
Fix panic in bootstrap for non-workspace path dependencies.

If you add a `path` dependency to a `Cargo.toml` that is located outside of the workspace, then the `in_tree_crates` function can panic because it finds a path dependency that is not defined (since it uses `cargo metadata --no-deps`).  This fixes it by skipping over those entries, which are usually not things you select on the command-line.

Fixes #78617
Diffstat (limited to 'compiler/rustc_resolve/src')
0 files changed, 0 insertions, 0 deletions