mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 07:14:28 +00:00
Fix warnings
This commit is contained in:
parent
d6c16e4253
commit
9a3548c420
@ -36,8 +36,7 @@ use crate::config::{Options as RustdocOptions, RenderOptions};
|
||||
use crate::config::{OutputFormat, RenderInfo};
|
||||
use crate::passes::{self, Condition::*, ConditionalPass};
|
||||
|
||||
crate use rustc_session::config::{CodegenOptions, DebuggingOptions, Input, Options};
|
||||
crate use rustc_session::search_paths::SearchPath;
|
||||
crate use rustc_session::config::{DebuggingOptions, Input, Options};
|
||||
|
||||
crate type ExternalPaths = FxHashMap<DefId, (Vec<String>, clean::TypeKind)>;
|
||||
|
||||
|
@ -85,7 +85,7 @@ mod theme;
|
||||
mod visit_ast;
|
||||
mod visit_lib;
|
||||
|
||||
crate fn main() {
|
||||
pub fn main() {
|
||||
rustc_driver::set_sigpipe_handler();
|
||||
rustc_driver::install_ice_hook();
|
||||
rustc_driver::init_env_logger("RUSTDOC_LOG");
|
||||
|
Loading…
Reference in New Issue
Block a user