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

This commit is contained in:
Patrick Walton
2013-01-08 11:12:16 -08:00
parent fd872284bb
commit a8d37af247
250 changed files with 1342 additions and 453 deletions

View File

@@ -15,6 +15,7 @@
#[forbid(deprecated_pattern)];
use int;
use prelude::*;
use str;
use task;
use u32;
@@ -362,7 +363,8 @@ pub fn random() -> uint {
#[cfg(test)]
pub mod tests {
use option::Option;
use debug;
use option::{None, Option, Some};
use rand;
#[test]