From f792baba42b79711b64950c46208a1eb4b9539be Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Fri, 26 Apr 2013 12:24:15 -0400 Subject: only use #[no_core] in libcore --- src/libsyntax/print/pp.rs | 6 ------ src/libsyntax/print/pprust.rs | 7 ------- 2 files changed, 13 deletions(-) (limited to 'src/libsyntax/print') 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), -- cgit 1.4.1-3-g733a5