]> git.lizzy.rs Git - rust.git/blobdiff - src/librustdoc/lib.rs
Fix macro reexports duplicates in the sidebar
[rust.git] / src / librustdoc / lib.rs
index 68028604fa463d36ad980268ec5462f71214b891..170f166db500e0d090873b227c7cc1280bc05ce0 100644 (file)
@@ -688,10 +688,9 @@ fn main_args(at_args: &[String]) -> MainResult {
         Ok(opts) => opts,
         Err(code) => return if code == 0 { Ok(()) } else { Err(ErrorReported) },
     };
-    rustc_interface::util::setup_callbacks_and_run_in_thread_pool_with_globals(
+    rustc_interface::util::run_in_thread_pool_with_globals(
         options.edition,
         1, // this runs single-threaded, even in a parallel compiler
-        &None,
         move || main_options(options),
     )
 }