From 44ab00ee37c4ffb8440ff20fd8a15cd24a6f3e46 Mon Sep 17 00:00:00 2001 From: Patrick Walton Date: Tue, 8 Jan 2013 19:29:16 -0800 Subject: Revert "librustc: Make unqualified identifier searches terminate at the nearest module scope. r=tjc" This reverts commit a8d37af2473da79be704c9ce2374f278c47177b6. --- src/libsyntax/print/pp.rs | 2 -- src/libsyntax/print/pprust.rs | 6 ++---- 2 files changed, 2 insertions(+), 6 deletions(-) (limited to 'src/libsyntax/print') diff --git a/src/libsyntax/print/pp.rs b/src/libsyntax/print/pp.rs index b3b267027ce..c9d2abfe0cb 100644 --- a/src/libsyntax/print/pp.rs +++ b/src/libsyntax/print/pp.rs @@ -8,8 +8,6 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -use core::prelude::*; - use core::cmp; use core::dvec::DVec; use core::io::WriterUtil; diff --git a/src/libsyntax/print/pprust.rs b/src/libsyntax/print/pprust.rs index c121bc30b96..239cff22cc0 100644 --- a/src/libsyntax/print/pprust.rs +++ b/src/libsyntax/print/pprust.rs @@ -8,8 +8,6 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -use core::prelude::*; - use ast::{required, provided}; use ast; use ast_util; @@ -18,9 +16,9 @@ use attr; use codemap::{CodeMap, BytePos}; use codemap; use diagnostic; -use parse::classify::{expr_is_simple_block, expr_requires_semi_to_be_stmt}; -use parse::classify::{stmt_ends_with_semi}; +use parse::classify::*; use parse::token::ident_interner; +use parse::token; use parse::{comments, lexer, token}; use parse; use print::pp::{break_offset, word, printer, space, zerobreak, hardbreak}; -- cgit 1.4.1-3-g733a5