summary refs log tree commit diff
path: root/src/libsyntax/print
diff options
context:
space:
mode:
authorDaniel Micay <danielmicay@gmail.com>2013-04-26 12:24:15 -0400
committerDaniel Micay <danielmicay@gmail.com>2013-04-27 21:34:24 -0400
commitf792baba42b79711b64950c46208a1eb4b9539be (patch)
tree246190c51857def54922ac4888e990d2e53164ca /src/libsyntax/print
parentdd5b1de1812f308ad68472d2ab06c15d3c342d75 (diff)
downloadrust-f792baba42b79711b64950c46208a1eb4b9539be.tar.gz
rust-f792baba42b79711b64950c46208a1eb4b9539be.zip
only use #[no_core] in libcore
Diffstat (limited to 'src/libsyntax/print')
-rw-r--r--src/libsyntax/print/pp.rs6
-rw-r--r--src/libsyntax/print/pprust.rs7
2 files changed, 0 insertions, 13 deletions
diff --git a/src/libsyntax/print/pp.rs b/src/libsyntax/print/pp.rs
index 17add33d673..e2ad5becb12 100644
--- a/src/libsyntax/print/pp.rs
+++ b/src/libsyntax/print/pp.rs
@@ -8,12 +8,6 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
-use core::prelude::*;
-
-use core::io::WriterUtil;
-use core::io;
-use core::vec;
-
 /*
  * This pretty-printer is a direct reimplementation of Philip Karlton's
  * Mesa pretty-printer, as described in appendix A of
diff --git a/src/libsyntax/print/pprust.rs b/src/libsyntax/print/pprust.rs
index ab4a8c73588..918fc805194 100644
--- a/src/libsyntax/print/pprust.rs
+++ b/src/libsyntax/print/pprust.rs
@@ -8,7 +8,6 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
-use core::prelude::*;
 
 use abi::AbiSet;
 use ast::{RegionTyParamBound, TraitTyParamBound, required, provided};
@@ -29,12 +28,6 @@ use print::pp::{breaks, consistent, inconsistent, eof};
 use print::pp;
 use print::pprust;
 
-use core::char;
-use core::io;
-use core::str;
-use core::u64;
-use core::vec;
-
 // The @ps is stored here to prevent recursive type.
 pub enum ann_node<'self> {
     node_block(@ps, &'self ast::blk),