diff options
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 03fbb6b975c..fc8ff1ffe07 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 <- *x; //~ ERROR dereference of unsafe pointer requires unsafe function or block ret y; } |
