diff options
author | Dylan DPC <99973273+Dylan-DPC@users.noreply.github.com> | 2022-07-14 14:14:23 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-14 14:14:23 +0530 |
commit | c1b43ef5892052454459d0be65d0dcae38aa86a2 (patch) | |
tree | da37ab775ca96254c407522ffc824eca258c28df /tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs | |
parent | 85159a4df8bfcd7c1d914600d3687bd0818234ca (diff) | |
parent | 939510348d841b081dbfe49766d220740c580e97 (diff) | |
download | rust-c1b43ef5892052454459d0be65d0dcae38aa86a2.tar.gz |
Rollup merge of #99139 - jyn514:dist-tool-help, r=Mark-Simulacrum
Give a better error when `x dist` fails for an optional tool
Before:
```
thread 'main' panicked at 'Unable to build RLS', dist.rs:42:9
```
After:
```
thread 'main' panicked at 'Unable to build submodule tool RLS (use `missing-tools = true` to ignore this failure)
note: not all tools are available on all nightlies
help: see https://forge.rust-lang.org/infra/toolstate.html for more information', dist.rs:43:9
```
Closes https://github.com/rust-lang/rust/issues/85683 by explaining better why the error is expected.
Diffstat (limited to 'tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs')
0 files changed, 0 insertions, 0 deletions