diff options
Diffstat (limited to 'src/test')
| -rw-r--r-- | src/test/compile-fail/cast-rfc0401.rs | 2 | ||||
| -rw-r--r-- | src/test/compile-fail/fat-ptr-cast.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/test/compile-fail/cast-rfc0401.rs b/src/test/compile-fail/cast-rfc0401.rs index 7fca4aece69..4603ed00347 100644 --- a/src/test/compile-fail/cast-rfc0401.rs +++ b/src/test/compile-fail/cast-rfc0401.rs @@ -96,7 +96,7 @@ fn main() let _ = &f as *const f64; //~ ERROR casting let _ = fat_v as usize; //~^ ERROR casting - //~^^ HELP through a raw pointer first + //~^^ HELP through a thin pointer first let a : *const str = "hello"; let _ = a as *const Foo; diff --git a/src/test/compile-fail/fat-ptr-cast.rs b/src/test/compile-fail/fat-ptr-cast.rs index 3746f29ea55..1c462779b43 100644 --- a/src/test/compile-fail/fat-ptr-cast.rs +++ b/src/test/compile-fail/fat-ptr-cast.rs @@ -21,7 +21,7 @@ fn main() { b as usize; //~ ERROR non-scalar cast p as usize; //~^ ERROR casting - //~^^ HELP cast through a raw pointer + //~^^ HELP cast through a thin pointer // #22955 q as *const [i32]; //~ ERROR casting |
