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 ec38671 commit b441b80Copy full SHA for b441b80
src/librustdoc/lib.rs
@@ -835,8 +835,10 @@ fn main_args(early_dcx: &mut EarlyDiagCtxt, at_args: &[String]) {
835
config::InputMode::NoInputMergeFinalize => {
836
return wrap_return(
837
dcx,
838
- run_merge_finalize(render_options)
839
- .map_err(|e| format!("could not write merged cross-crate info: {e}")),
+ rustc_span::create_session_globals_then(options.edition, &[], None, || {
+ run_merge_finalize(render_options)
840
+ .map_err(|e| format!("could not write merged cross-crate info: {e}"))
841
+ }),
842
);
843
}
844
};
0 commit comments