about summary refs log tree commit diff
path: root/src/librustdoc/html/render
diff options
context:
space:
mode:
authorJoshua Nelson <jyn514@gmail.com>2020-12-31 23:25:30 -0500
committerJoshua Nelson <jyn514@gmail.com>2021-01-21 22:25:59 -0500
commita194881991e57c6533490aff4c2d536d5569c514 (patch)
tree5a43f808190fc70c0039aa041fa2f500e3e8f279 /src/librustdoc/html/render
parent65767e56537e20903b54ecde7c371cbfb1b201b0 (diff)
downloadrust-a194881991e57c6533490aff4c2d536d5569c514.tar.gz
rust-a194881991e57c6533490aff4c2d536d5569c514.zip
Fix rustc::internal lints on rustdoc
Diffstat (limited to 'src/librustdoc/html/render')
-rw-r--r--src/librustdoc/html/render/mod.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/librustdoc/html/render/mod.rs b/src/librustdoc/html/render/mod.rs
index 26afd705740..37a0f7f4d7c 100644
--- a/src/librustdoc/html/render/mod.rs
+++ b/src/librustdoc/html/render/mod.rs
@@ -55,7 +55,6 @@ use rustc_hir as hir;
 use rustc_hir::def_id::{DefId, LOCAL_CRATE};
 use rustc_hir::Mutability;
 use rustc_middle::middle::stability;
-use rustc_middle::ty;
 use rustc_middle::ty::TyCtxt;
 use rustc_session::Session;
 use rustc_span::edition::Edition;
@@ -390,7 +389,7 @@ impl<'tcx> FormatRenderer<'tcx> for Context<'tcx> {
         _render_info: RenderInfo,
         edition: Edition,
         cache: &mut Cache,
-        tcx: ty::TyCtxt<'tcx>,
+        tcx: TyCtxt<'tcx>,
     ) -> Result<(Self, clean::Crate), Error> {
         // need to save a copy of the options for rendering the index page
         let md_opts = options.clone();