diff options
| author | Andy Russell <arussell123@gmail.com> | 2018-11-13 13:43:50 -0500 |
|---|---|---|
| committer | Andy Russell <arussell123@gmail.com> | 2018-12-05 10:10:31 -0500 |
| commit | c359f98c7a0cd6f2af10fb1369477b9a03b32c44 (patch) | |
| tree | ff8219e869901a6d264610e518510952750691c6 /src/librustdoc/html | |
| parent | 5c9f7dcd8307f92931bc7e5534b467063b4ecc76 (diff) | |
| download | rust-c359f98c7a0cd6f2af10fb1369477b9a03b32c44.tar.gz rust-c359f98c7a0cd6f2af10fb1369477b9a03b32c44.zip | |
emit error when doc generation fails
Fixes #41813.
Diffstat (limited to 'src/librustdoc/html')
| -rw-r--r-- | src/librustdoc/html/render.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/librustdoc/html/render.rs b/src/librustdoc/html/render.rs index f560350d510..6a20980575a 100644 --- a/src/librustdoc/html/render.rs +++ b/src/librustdoc/html/render.rs @@ -202,8 +202,8 @@ impl Impl { #[derive(Debug)] pub struct Error { - file: PathBuf, - error: io::Error, + pub file: PathBuf, + pub error: io::Error, } impl error::Error for Error { |
