diff --git a/src/test/compile-fail/core-tls-store-pointer.rs b/src/test/compile-fail/core-tls-store-pointer.rs index 42cf9c793d11..fcb25069de6d 100644 --- a/src/test/compile-fail/core-tls-store-pointer.rs +++ b/src/test/compile-fail/core-tls-store-pointer.rs @@ -10,7 +10,7 @@ // Testing that we can't store a borrowed pointer it task-local storage -use core::task::local_data::*; +use core::local_data::*; fn key(_x: @&int) { } @@ -18,4 +18,4 @@ fn main() { unsafe { local_data_set(key, @&0); //~ ERROR does not fulfill `'static` } -} \ No newline at end of file +}