about summary refs log tree commit diff
path: root/src/librustdoc/html/render.rs
diff options
context:
space:
mode:
authorNick Cameron <ncameron@mozilla.com>2015-09-14 21:58:20 +1200
committerNick Cameron <ncameron@mozilla.com>2015-09-16 10:57:06 +1200
commite9f1b063295c48c97e239ce479b08f192a3eece4 (patch)
treed0f72439a2b01ecdba8675bf82d37f92eeec7950 /src/librustdoc/html/render.rs
parentd2e13e822a73e0ea46ae9e21afdd3155fc997f6d (diff)
downloadrust-e9f1b063295c48c97e239ce479b08f192a3eece4.tar.gz
rust-e9f1b063295c48c97e239ce479b08f192a3eece4.zip
Use ast attributes every where (remove HIR attributes).
This could be a [breaking-change] if your lint or syntax extension (is that even possible?) uses HIR attributes or literals.
Diffstat (limited to 'src/librustdoc/html/render.rs')
-rw-r--r--src/librustdoc/html/render.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/librustdoc/html/render.rs b/src/librustdoc/html/render.rs
index 86b268001a6..b34f1a01a2b 100644
--- a/src/librustdoc/html/render.rs
+++ b/src/librustdoc/html/render.rs
@@ -52,10 +52,10 @@ use std::sync::Arc;
 use externalfiles::ExternalHtml;
 
 use serialize::json::{self, ToJson};
-use syntax::{abi, ast};
+use syntax::{abi, ast, attr};
 use rustc::middle::def_id::{DefId, LOCAL_CRATE};
 use rustc::util::nodemap::NodeSet;
-use rustc_front::{hir, attr};
+use rustc_front::hir;
 
 use clean::{self, SelfTy};
 use doctree;