emit error when doc generation fails

Fixes #41813.
This commit is contained in:
Andy Russell
2018-11-13 13:43:50 -05:00
parent 5c9f7dcd83
commit c359f98c7a
4 changed files with 43 additions and 5 deletions

View File

@@ -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 {