Fix warnings

This commit is contained in:
Joshua Nelson 2020-11-14 18:02:06 -05:00
parent d6c16e4253
commit 9a3548c420
2 changed files with 2 additions and 3 deletions

View File

@ -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)>;

View File

@ -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");