about summary refs log tree commit diff
path: root/src/test/compile-fail/unsafe-fn-assign-deref-ptr.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/compile-fail/unsafe-fn-assign-deref-ptr.rs')
-rw-r--r--src/test/compile-fail/unsafe-fn-assign-deref-ptr.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/compile-fail/unsafe-fn-assign-deref-ptr.rs b/src/test/compile-fail/unsafe-fn-assign-deref-ptr.rs
index 089c4a74505..03af39ab7fc 100644
--- a/src/test/compile-fail/unsafe-fn-assign-deref-ptr.rs
+++ b/src/test/compile-fail/unsafe-fn-assign-deref-ptr.rs
@@ -1,7 +1,7 @@
 // -*- rust -*-
 
 fn f(p: *u8) {
-    *p = 0u8; //! ERROR dereference of unsafe pointer requires unsafe function or block
+    *p = 0u8; //~ ERROR dereference of unsafe pointer requires unsafe function or block
     ret;
 }