Skip to content

Commit

Permalink
Fix test fallout
Browse files Browse the repository at this point in the history
  • Loading branch information
jonas-schievink committed Mar 13, 2016
1 parent 298b51e commit be2698c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/test/compile-fail/cast-rfc0401.rs
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/test/compile-fail/fat-ptr-cast.rs
Expand Up @@ -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
Expand Down

0 comments on commit be2698c

Please sign in to comment.