about summary refs log tree commit diff
path: root/src/libsyntax/ext/deriving/bounds.rs
diff options
context:
space:
mode:
authorklutzy <klutzytheklutzy@gmail.com>2014-05-29 12:19:05 +0900
committerklutzy <klutzytheklutzy@gmail.com>2014-06-02 23:21:40 +0900
commit976c8324e1e5f2ec1e4bd4e8d029abce02ff7654 (patch)
tree36e09d0b47455d394e79becd685e3b6e7a981660 /src/libsyntax/ext/deriving/bounds.rs
parente38fde71b1dede9772043b71fe09c43b4ba61b8c (diff)
downloadrust-976c8324e1e5f2ec1e4bd4e8d029abce02ff7654.tar.gz
rust-976c8324e1e5f2ec1e4bd4e8d029abce02ff7654.zip
syntax: Remove use of `pub use` globs
`quote_expr!` now injects two more (priv) `use` globs.
This may cause extra unused_imports warning.
Diffstat (limited to 'src/libsyntax/ext/deriving/bounds.rs')
-rw-r--r--src/libsyntax/ext/deriving/bounds.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libsyntax/ext/deriving/bounds.rs b/src/libsyntax/ext/deriving/bounds.rs
index d90c7f37213..81fb1e46bba 100644
--- a/src/libsyntax/ext/deriving/bounds.rs
+++ b/src/libsyntax/ext/deriving/bounds.rs
@@ -12,6 +12,7 @@ use ast::{MetaItem, MetaWord, Item};
 use codemap::Span;
 use ext::base::ExtCtxt;
 use ext::deriving::generic::*;
+use ext::deriving::generic::ty::*;
 
 pub fn expand_deriving_bound(cx: &mut ExtCtxt,
                              span: Span,