We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d12502 commit 59e5a5cCopy full SHA for 59e5a5c
src/librustdoc/core.rs
@@ -172,9 +172,8 @@ pub fn run_core(search_paths: SearchPaths,
172
&arenas,
173
&name,
174
|tcx, _, analysis, result| {
175
- // Return if the driver hit an err (in `result`)
176
if let Err(_) = result {
177
- return None
+ sess.fatal("Compilation failed, aborting rustdoc");
178
}
179
180
let _ignore = tcx.dep_graph.in_ignore();
@@ -206,6 +205,6 @@ pub fn run_core(search_paths: SearchPaths,
206
205
v.clean(&ctxt)
207
};
208
209
- Some((krate, ctxt.renderinfo.into_inner()))
210
- }), &sess).unwrap()
+ (krate, ctxt.renderinfo.into_inner())
+ }), &sess)
211
0 commit comments