about summary refs log tree commit diff
path: root/src/libsyntax/parse
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2013-05-31 00:43:45 -0700
committerbors <bors@rust-lang.org>2013-05-31 00:43:45 -0700
commit1dd5cd9731e7c32180f9cc7ce1bcf675b5724c50 (patch)
tree233e65e6296458aab1bbc43f00f0558afdca1a5f /src/libsyntax/parse
parent6fcb483609dec71ec6fd13aaf9bea9080990043a (diff)
parentaef1e10eba812b8144b0a4ac8d9b6e690c6e5ca7 (diff)
downloadrust-1dd5cd9731e7c32180f9cc7ce1bcf675b5724c50.tar.gz
rust-1dd5cd9731e7c32180f9cc7ce1bcf675b5724c50.zip
auto merge of #6833 : fdr/rust/fix-warnings, r=Aatch
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 29f565851b4..c47092ef61c 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 {