diff options
| author | Jonas Schievink <jonas@schievink.net> | 2016-03-13 20:35:04 +0100 |
|---|---|---|
| committer | Jonas Schievink <jonas@schievink.net> | 2016-03-13 20:35:04 +0100 |
| commit | be2698cb58687ba4c301680ad8dc47c39cd0a3db (patch) | |
| tree | b897450f3cdd432de64459dc2e2a3383d78f2b6e | |
| parent | 298b51e982703cda78fc3af469442e853b9db5aa (diff) | |
Fix test fallout
| -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 d14b0fa9e66..8e129722722 100644 --- a/src/test/compile-fail/cast-rfc0401.rs +++ b/src/test/compile-fail/cast-rfc0401.rs @@ -87,7 +87,7 @@ fn main() //~^^ HELP through a usize first let _ = 42usize as *const [u8]; //~ ERROR casting - let _ = v as *const [u8]; //~ ERROR casting + let _ = v as *const [u8]; //~ ERROR cannot cast let _ = fat_v as *const Foo; //~^ ERROR `core::marker::Sized` is not implemented for the type `[u8]` let _ = foo as *const str; //~ ERROR casting diff --git a/src/test/compile-fail/fat-ptr-cast.rs b/src/test/compile-fail/fat-ptr-cast.rs index 1c462779b43..c920b6c171e 100644 --- a/src/test/compile-fail/fat-ptr-cast.rs +++ b/src/test/compile-fail/fat-ptr-cast.rs @@ -24,7 +24,7 @@ fn main() { //~^^ HELP cast through a thin pointer // #22955 - q as *const [i32]; //~ ERROR casting + q as *const [i32]; //~ ERROR cannot cast // #21397 let t: *mut (Trait + 'static) = 0 as *mut _; //~ ERROR casting |
