From bbcff95ac51f5533866d307a85eedb062a1a05da Mon Sep 17 00:00:00 2001 From: Huon Wilson Date: Sun, 16 Jun 2013 12:20:12 +1000 Subject: remove unused imports --- src/libsyntax/ext/quote.rs | 2 -- src/libsyntax/fold.rs | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) (limited to 'src/libsyntax') diff --git a/src/libsyntax/ext/quote.rs b/src/libsyntax/ext/quote.rs index 25166eca7bb..44e480dc7df 100644 --- a/src/libsyntax/ext/quote.rs +++ b/src/libsyntax/ext/quote.rs @@ -39,8 +39,6 @@ pub mod rt { use parse; use print::pprust; - use core::str; - pub use ast::*; pub use parse::token::*; pub use parse::new_parser_from_tts; diff --git a/src/libsyntax/fold.rs b/src/libsyntax/fold.rs index 035675e523e..c1bf979cd31 100644 --- a/src/libsyntax/fold.rs +++ b/src/libsyntax/fold.rs @@ -969,7 +969,7 @@ mod test { // change every identifier to "zz" pub fn to_zz() -> @fn(ast::ident)->ast::ident { let zz_id = token::str_to_ident("zz"); - |id| {zz_id} + |_id| {zz_id} } // maybe add to expand.rs... -- cgit 1.4.1-3-g733a5