diff options
| author | Tim Chevalier <chevalier@alum.wellesley.edu> | 2012-10-23 11:11:23 -0700 |
|---|---|---|
| committer | Tim Chevalier <chevalier@alum.wellesley.edu> | 2012-10-23 12:10:03 -0700 |
| commit | 11e92f37c13194ad5c1f82a980e7f7ee02345801 (patch) | |
| tree | a9fbae3cf8682a6f7cdd92e2b6aba65856be82b4 /src/test/compile-fail/borrowck-move-from-unsafe-ptr.rs | |
| parent | 804c608f0166c90dcf04e5d00b48cc4d5c9e9d3c (diff) | |
| download | rust-11e92f37c13194ad5c1f82a980e7f7ee02345801.tar.gz rust-11e92f37c13194ad5c1f82a980e7f7ee02345801.zip | |
Remove uses of binary move - <- - from tests and libraries
Diffstat (limited to 'src/test/compile-fail/borrowck-move-from-unsafe-ptr.rs')
| -rw-r--r-- | src/test/compile-fail/borrowck-move-from-unsafe-ptr.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/compile-fail/borrowck-move-from-unsafe-ptr.rs b/src/test/compile-fail/borrowck-move-from-unsafe-ptr.rs index 71bba89fb77..ce500492aea 100644 --- a/src/test/compile-fail/borrowck-move-from-unsafe-ptr.rs +++ b/src/test/compile-fail/borrowck-move-from-unsafe-ptr.rs @@ -1,5 +1,5 @@ fn foo(x: *~int) -> ~int { - let y <- *x; //~ ERROR dereference of unsafe pointer requires unsafe function or block + let y = move *x; //~ ERROR dereference of unsafe pointer requires unsafe function or block return y; } |
