]> git.proxmox.com Git - rustc.git/blobdiff - src/librustdoc/clean/simplify.rs
Imported Upstream version 1.9.0+dfsg1
[rustc.git] / src / librustdoc / clean / simplify.rs
index 716b88d5534ae865795f7f502ce61103ac9295db..4ba412cdc851bb4a843710b94bae8f518ad3b36e 100644 (file)
@@ -11,7 +11,7 @@
 //! Simplification of where clauses and parameter bounds into a prettier and
 //! more canonical form.
 //!
-//! Currently all cross-crate-inlined function use `middle::ty` to reconstruct
+//! Currently all cross-crate-inlined function use `rustc::ty` to reconstruct
 //! the AST (e.g. see all of `clean::inline`), but this is not always a
 //! non-lossy transformation. The current format of storage for where clauses
 //! for functions and such is simply a list of predicates. One example of this
@@ -29,8 +29,8 @@
 use std::mem;
 use std::collections::HashMap;
 
-use rustc::middle::def_id::DefId;
-use rustc::middle::subst;
+use rustc::hir::def_id::DefId;
+use rustc::ty::subst;
 
 use clean::PathParameters as PP;
 use clean::WherePredicate as WP;