]> git.lizzy.rs Git - rust.git/blobdiff - src/librustdoc/config.rs
Rollup merge of #68357 - ollie27:rustdoc_test_errors, r=GuillaumeGomez
[rust.git] / src / librustdoc / config.rs
index 26b49d2f9624e0fbe3b631727d24c45b8551e749..22f5d0dc2c07869c594a1e168abf46594c6dc169 100644 (file)
@@ -3,7 +3,6 @@
 use std::fmt;
 use std::path::PathBuf;
 
-use errors;
 use getopts;
 use rustc::lint::Level;
 use rustc::session;
@@ -566,7 +565,7 @@ pub fn markdown_input(&self) -> bool {
 }
 
 /// Prints deprecation warnings for deprecated options
-fn check_deprecated_options(matches: &getopts::Matches, diag: &errors::Handler) {
+fn check_deprecated_options(matches: &getopts::Matches, diag: &rustc_errors::Handler) {
     let deprecated_flags = ["input-format", "output-format", "no-defaults", "passes"];
 
     for flag in deprecated_flags.iter() {