Skip to content

Commit 000d4d8

Browse files
Remove unused type from librustdoc
1 parent 98e1688 commit 000d4d8

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/librustdoc/lib.rs

-8
Original file line numberDiff line numberDiff line change
@@ -85,12 +85,6 @@ mod theme;
8585
mod visit_ast;
8686
mod visit_lib;
8787

88-
struct Output {
89-
krate: clean::Crate,
90-
renderinfo: config::RenderInfo,
91-
renderopts: config::RenderOptions,
92-
}
93-
9488
pub fn main() {
9589
rustc_driver::set_sigpipe_handler();
9690
rustc_driver::install_ice_hook();
@@ -521,15 +515,13 @@ fn main_options(options: config::Options) -> MainResult {
521515

522516
krate.version = crate_version;
523517

524-
let out = Output { krate, renderinfo, renderopts };
525518

526519
if show_coverage {
527520
// if we ran coverage, bail early, we don't need to also generate docs at this point
528521
// (also we didn't load in any of the useful passes)
529522
return Ok(());
530523
}
531524

532-
let Output { krate, renderinfo, renderopts } = out;
533525
info!("going to format");
534526
let (error_format, edition, debugging_options) = diag_opts;
535527
let diag = core::new_handler(error_format, None, &debugging_options);

0 commit comments

Comments
 (0)