diff options
Diffstat (limited to 'src/test/compile-fail/once-cant-move-out-of-non-once-on-stack.rs')
| -rw-r--r-- | src/test/compile-fail/once-cant-move-out-of-non-once-on-stack.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/compile-fail/once-cant-move-out-of-non-once-on-stack.rs b/src/test/compile-fail/once-cant-move-out-of-non-once-on-stack.rs index 4fa6b6af794..804ea46b426 100644 --- a/src/test/compile-fail/once-cant-move-out-of-non-once-on-stack.rs +++ b/src/test/compile-fail/once-cant-move-out-of-non-once-on-stack.rs @@ -11,7 +11,7 @@ // Testing guarantees provided by once functions. // This program would segfault if it were legal. -extern mod sync; +extern crate sync; use sync::Arc; fn foo(blk: ||) { |
