]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #98708 - pinkforest:rustdoc-fix-98690, r=GuillaumeGomez
authorGuillaume Gomez <guillaume1.gomez@gmail.com>
Fri, 1 Jul 2022 21:39:10 +0000 (23:39 +0200)
committerGitHub <noreply@github.com>
Fri, 1 Jul 2022 21:39:10 +0000 (23:39 +0200)
commit00d68a7890cdd4dc9a1752d02f7b18e0eab88e39
tree84b89c05133d25353aff7d19f9b2b3a242cb10ea
parentb0935b1ddf12f96546df32d805b7dd874459f4cb
parent6565509c19ec3f143c917335aa0f23b073ad1f0a
Rollup merge of #98708 - pinkforest:rustdoc-fix-98690, r=GuillaumeGomez

rustdoc: fix 98690 Panic if invalid path for -Z persist-doctests

Closes #98690 for rustdoc panic

I changed this to do eprintln and orderly panic instead of unwrap doing unhandled panic

~/gg/rust/build/x86_64-unknown-linux-gnu/stage2/bin/rustdoc --test -Z unstable-options --persist-doctests /tmp/foobar main.rs
Couldn't create directory for doctest executables: Permission denied (os error 13)