]> git.lizzy.rs Git - rust.git/blobdiff - src/librustdoc/doctree.rs
Simplify Cache wrapper to single type, impl Deref on it, fix all compilation errors...
[rust.git] / src / librustdoc / doctree.rs
index 0dc094ae329fb414eb26d12fa1c0145f27677aea..002ca6fe983ba0c89c74df32356b505debdf82b2 100644 (file)
@@ -4,7 +4,7 @@
 
 use syntax::ast;
 use syntax::ast::Name;
-use syntax_expand::base::MacroKind;
+use syntax_pos::hygiene::MacroKind;
 use syntax_pos::{self, Span};
 
 use rustc::hir;
@@ -59,7 +59,7 @@ pub fn new(
             fns        :   Vec::new(),
             mods       :   Vec::new(),
             typedefs   :   Vec::new(),
-            opaque_tys :  Vec::new(),
+            opaque_tys :   Vec::new(),
             statics    :   Vec::new(),
             constants  :   Vec::new(),
             traits     :   Vec::new(),