diff options
| author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2021-10-14 11:42:53 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-10-14 11:42:53 +0000 |
| commit | c5354877c98bf804eaa6148204386dd392eb3b39 (patch) | |
| tree | 26c1331cadfa19d15490d50f2df32f5487b7b3db /tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.diff | |
| parent | f87debcf87c16690e8d5e185a35d03a402a2d5bf (diff) | |
| parent | 841d4f9dad7edbb9b239dfa6c6a14dcfe5d94ad3 (diff) | |
| download | rust-c5354877c98bf804eaa6148204386dd392eb3b39.tar.gz rust-c5354877c98bf804eaa6148204386dd392eb3b39.zip | |
Merge #10503
10503: Only include targets of packages that are workspace members r=Veykril a=bcully CargoWorkspace's package list includes packages that are path dependencies, even if those packages aren't actually members of the cargo workspace. As a result, rust-analyzer's runnable finder, which returns the target from the first workspace that has a matching package, may select the wrong working directory, causing runnables to fail, e.g., ``` error: package `root` cannot be tested because it requires dev-dependencies and is not a member of the workspace ``` To fix this, we filter out packages that aren't members of the workspace when searching for targets. Fixes #7764 Co-authored-by: Brendan Cully <brendan@cully.org>
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.diff')
0 files changed, 0 insertions, 0 deletions
