about summary refs log tree commit diff
path: root/src/libsyntax/parse
diff options
context:
space:
mode:
authorDaniel Farina <daniel@fdr.io>2013-05-30 03:16:33 -0700
committerDaniel Farina <daniel@fdr.io>2013-05-30 13:08:18 -0700
commitaef1e10eba812b8144b0a4ac8d9b6e690c6e5ca7 (patch)
treeceb3263dbb1b692ea87761c26435fb34a45e7695 /src/libsyntax/parse
parenta39429887a570f05c5da3e5dc8dfbcb6eea98f49 (diff)
downloadrust-aef1e10eba812b8144b0a4ac8d9b6e690c6e5ca7.tar.gz
rust-aef1e10eba812b8144b0a4ac8d9b6e690c6e5ca7.zip
Remove unnecessary 'use' forms
Fix a laundry list of warnings involving unused imports that glutted
up compilation output.  There are more, but there seems to be some
false positives (where 'remedy' appears to break the build), but this
particular set of fixes seems safe.
Diffstat (limited to 'src/libsyntax/parse')
-rw-r--r--src/libsyntax/parse/parser.rs1
-rw-r--r--src/libsyntax/parse/token.rs4
2 files changed, 1 insertions, 4 deletions
diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs
index 27dfc2c0a46..208ed1c41c8 100644
--- a/src/libsyntax/parse/parser.rs
+++ b/src/libsyntax/parse/parser.rs
@@ -92,7 +92,6 @@ use parse::{new_sub_parser_from_file, next_node_id, ParseSess};
 use opt_vec;
 use opt_vec::OptVec;
 
-use core::char;
 use core::either::Either;
 use core::either;
 use core::hashmap::HashSet;
diff --git a/src/libsyntax/parse/token.rs b/src/libsyntax/parse/token.rs
index b1a385ada07..f50b9f8936a 100644
--- a/src/libsyntax/parse/token.rs
+++ b/src/libsyntax/parse/token.rs
@@ -1,4 +1,4 @@
-// Copyright 2012 The Rust Project Developers. See the COPYRIGHT
+// Copyright 2012-2013 The Rust Project Developers. See the COPYRIGHT
 // file at the top-level directory of this distribution and at
 // http://rust-lang.org/COPYRIGHT.
 //
@@ -19,11 +19,9 @@ use util::interner;
 use core::cast;
 use core::char;
 use core::cmp::Equiv;
-use core::hashmap::HashSet;
 use core::local_data;
 use core::str;
 use core::to_bytes;
-use core::vec;
 
 #[deriving(Encodable, Decodable, Eq)]
 pub enum binop {