]> git.lizzy.rs Git - rust.git/blobdiff - src/librustdoc/docfs.rs
Rollup merge of #68223 - SOF3:float-fract-doc, r=varkor
[rust.git] / src / librustdoc / docfs.rs
index 2a107e828f75ffafb9cc63bfc4b316a5c2e5eb38..ecc394a2bc992082dc558992658a7fa080023bf1 100644 (file)
@@ -9,8 +9,6 @@
 //! needs to read-after-write from a file, then it would be added to this
 //! abstraction.
 
-use errors;
-
 use std::fs;
 use std::io;
 use std::path::Path;
@@ -42,7 +40,7 @@ pub fn new() -> ErrorStorage {
     }
 
     /// Prints all stored errors. Returns the number of printed errors.
-    pub fn write_errors(&mut self, diag: &errors::Handler) -> usize {
+    pub fn write_errors(&mut self, diag: &rustc_errors::Handler) -> usize {
         let mut printed = 0;
         // In order to drop the sender part of the channel.
         self.sender = None;