about summary refs log tree commit diff
path: root/src/libcore/uint-template
diff options
context:
space:
mode:
authorPatrick Walton <pcwalton@mimiga.net>2012-12-23 17:41:37 -0500
committerPatrick Walton <pcwalton@mimiga.net>2012-12-27 10:02:54 -0800
commit57c599914a19861686030b238a0edc7ebb996068 (patch)
treeda3e6ee27b1260b140dacf0085cc258f15279e38 /src/libcore/uint-template
parent6b659392ea4a7a15226519f26d081431f624c466 (diff)
downloadrust-57c599914a19861686030b238a0edc7ebb996068.tar.gz
rust-57c599914a19861686030b238a0edc7ebb996068.zip
librustc: Terminate name searches at the nearest module scope for paths that contain at least two components. r=graydon
Diffstat (limited to 'src/libcore/uint-template')
-rw-r--r--src/libcore/uint-template/uint.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libcore/uint-template/uint.rs b/src/libcore/uint-template/uint.rs
index b2ae1aa921b..fb1762ef300 100644
--- a/src/libcore/uint-template/uint.rs
+++ b/src/libcore/uint-template/uint.rs
@@ -16,6 +16,8 @@ pub use self::inst::{
 };
 
 mod inst {
+    use sys;
+
     pub type T = uint;
 
     #[cfg(target_arch = "x86")]