diff options
| author | Dylan DPC <dylan.dpc@gmail.com> | 2020-03-28 15:21:58 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-03-28 15:21:58 +0100 |
| commit | bbd3634f5f22e3e58cc570c37626625ef4109c14 (patch) | |
| tree | db0fff6aff357a6d48c93d640735cb56576c8b50 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs | |
| parent | 1f13089bef91e8410bca87b2f42e6fbbc2bbfd9e (diff) | |
| parent | 6a744ea4d515a70c5c90fef85cfa4c7ba8ae7f53 (diff) | |
| download | rust-bbd3634f5f22e3e58cc570c37626625ef4109c14.tar.gz rust-bbd3634f5f22e3e58cc570c37626625ef4109c14.zip | |
Rollup merge of #70448 - TimotheeGerber:rustdoc-create-output-dir, r=GuillaumeGomez
Create output dir in rustdoc markdown render `rustdoc` command on a standalone markdown document fails because the output directory (which default to `doc/`) is not created, even when specified with the `--output` argument. This PR adds the creation of the output directory before the file creation to avoid an unexpected error which is unclear. I am not sure about the returned error code. I did not find a table explaining them. So I simply put the same error code that is returned when `File::create` fails because they are both related to file-system errors. Resolve #70431
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions
