about summary refs log tree commit diff
path: root/src/test/run-fail/bounds-check-no-overflow.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/run-fail/bounds-check-no-overflow.rs')
-rw-r--r--src/test/run-fail/bounds-check-no-overflow.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/run-fail/bounds-check-no-overflow.rs b/src/test/run-fail/bounds-check-no-overflow.rs
index 679f060a55d..faced3531f5 100644
--- a/src/test/run-fail/bounds-check-no-overflow.rs
+++ b/src/test/run-fail/bounds-check-no-overflow.rs
@@ -11,7 +11,7 @@
 // error-pattern:index out of bounds: the len is 3 but the index is
 
 use std::uint::max_value;
-use std::sys::size_of;
+use std::mem::size_of;
 
 fn main() {
     let xs = [1, 2, 3];