about summary refs log tree commit diff
path: root/src/librustdoc/html
diff options
context:
space:
mode:
authorAndy Russell <arussell123@gmail.com>2018-11-13 13:43:50 -0500
committerAndy Russell <arussell123@gmail.com>2018-12-05 10:10:31 -0500
commitc359f98c7a0cd6f2af10fb1369477b9a03b32c44 (patch)
treeff8219e869901a6d264610e518510952750691c6 /src/librustdoc/html
parent5c9f7dcd8307f92931bc7e5534b467063b4ecc76 (diff)
downloadrust-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.rs4
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 {