diff options
| author | Steve Klabnik <steve@steveklabnik.com> | 2015-06-09 16:49:24 -0400 |
|---|---|---|
| committer | Steve Klabnik <steve@steveklabnik.com> | 2015-06-09 16:49:24 -0400 |
| commit | 2c75256c151774407e5f4a0e4c655604d34bee17 (patch) | |
| tree | 0729a88c2a2fd6edefa1005b7a1028126fc6fdb0 /src/test/compile-fail/borrowck-move-from-unsafe-ptr.rs | |
| parent | 7b0f2af27f18b6c81fe6a2faab0ba96e0da3bba5 (diff) | |
| download | rust-2c75256c151774407e5f4a0e4c655604d34bee17.tar.gz rust-2c75256c151774407e5f4a0e4c655604d34bee17.zip | |
Exise 'unsafe pointer' in favor of 'raw pointer'
Using two terms for one thing is confusing, these are called 'raw pointers' today.
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 8310d4ba144..7284fa7a850 100644 --- a/src/test/compile-fail/borrowck-move-from-unsafe-ptr.rs +++ b/src/test/compile-fail/borrowck-move-from-unsafe-ptr.rs @@ -10,7 +10,7 @@ fn foo(x: *const Box<isize>) -> Box<isize> { - let y = *x; //~ ERROR dereference of unsafe pointer requires unsafe function or block + let y = *x; //~ ERROR dereference of raw pointer requires unsafe function or block return y; } |
