Revert "librustc: Make unqualified identifier searches terminate at the nearest module scope. r=tjc"

This reverts commit a8d37af247.
This commit is contained in:
Patrick Walton
2013-01-08 19:29:16 -08:00
parent a8d37af247
commit 44ab00ee37
250 changed files with 453 additions and 1342 deletions

View File

@@ -19,7 +19,6 @@ Miscellaneous helpers for common patterns.
#[forbid(deprecated_pattern)];
use cmp::Eq;
use prelude::*;
/// The identity function.
#[inline(always)]
@@ -105,10 +104,6 @@ pub fn unreachable() -> ! {
mod tests {
#[legacy_exports];
use option::{None, Some};
use util::{NonCopyable, id, replace, swap};
#[test]
fn identity_crisis() {
// Writing a test for the identity function. How did it come to this?