about summary refs log tree commit diff
path: root/src/librustdoc/html
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2020-01-09 11:18:47 +0100
committerMazdak Farrokhzad <twingoow@gmail.com>2020-01-10 07:41:30 +0100
commit8bd3d240e3fbfe5ad39585faef1fcfb4ae42ac59 (patch)
tree0600a52ab918d3b176ece187a3f0b8e3ff68501c /src/librustdoc/html
parent2d8d559bbecf6272eb41f8a800e319238aa9d621 (diff)
downloadrust-8bd3d240e3fbfe5ad39585faef1fcfb4ae42ac59.tar.gz
rust-8bd3d240e3fbfe5ad39585faef1fcfb4ae42ac59.zip
nix syntax::errors & prefer rustc_errors over errors
Diffstat (limited to 'src/librustdoc/html')
-rw-r--r--src/librustdoc/html/render.rs5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/librustdoc/html/render.rs b/src/librustdoc/html/render.rs
index a01e2f79394..2d932eb7668 100644
--- a/src/librustdoc/html/render.rs
+++ b/src/librustdoc/html/render.rs
@@ -42,7 +42,6 @@ use std::rc::Rc;
 use std::str;
 use std::sync::Arc;
 
-use errors;
 use rustc::middle::privacy::AccessLevels;
 use rustc::middle::stability;
 use rustc_data_structures::flock;
@@ -394,7 +393,7 @@ pub fn run(
     mut krate: clean::Crate,
     options: RenderOptions,
     renderinfo: RenderInfo,
-    diag: &errors::Handler,
+    diag: &rustc_errors::Handler,
     edition: Edition,
 ) -> Result<(), Error> {
     // need to save a copy of the options for rendering the index page
@@ -528,7 +527,7 @@ fn write_shared(
     krate: &clean::Crate,
     search_index: String,
     options: &RenderOptions,
-    diag: &errors::Handler,
+    diag: &rustc_errors::Handler,
 ) -> Result<(), Error> {
     // Write out the shared files. Note that these are shared among all rustdoc
     // docs placed in the output directory, so this needs to be a synchronized