From f8acc8344933d2abab88f77c2b8d7cc7a6498ed9 Mon Sep 17 00:00:00 2001 From: mcarton Date: Fri, 1 Apr 2016 17:48:13 +0200 Subject: [PATCH] Rustup to 1.9.0-nightly (e1195c24b 2016-03-31) This does not require a version bump, it only affects tests. --- tests/compile-fail/transmute.rs | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/tests/compile-fail/transmute.rs b/tests/compile-fail/transmute.rs index 5bae2c72643..cd86281d8f2 100644 --- a/tests/compile-fail/transmute.rs +++ b/tests/compile-fail/transmute.rs @@ -62,19 +62,19 @@ unsafe fn _ptr_to_ref(p: *const T, m: *mut T, o: *const U, om: *mut U) { fn useless() { unsafe { let _: Vec = core::intrinsics::transmute(my_vec()); - //~^ ERROR transmute from a type (`collections::vec::Vec`) to itself + //~^ ERROR transmute from a type (`std::vec::Vec`) to itself let _: Vec = core::mem::transmute(my_vec()); - //~^ ERROR transmute from a type (`collections::vec::Vec`) to itself + //~^ ERROR transmute from a type (`std::vec::Vec`) to itself let _: Vec = std::intrinsics::transmute(my_vec()); - //~^ ERROR transmute from a type (`collections::vec::Vec`) to itself + //~^ ERROR transmute from a type (`std::vec::Vec`) to itself let _: Vec = std::mem::transmute(my_vec()); - //~^ ERROR transmute from a type (`collections::vec::Vec`) to itself + //~^ ERROR transmute from a type (`std::vec::Vec`) to itself let _: Vec = my_transmute(my_vec()); - //~^ ERROR transmute from a type (`collections::vec::Vec`) to itself + //~^ ERROR transmute from a type (`std::vec::Vec`) to itself let _: Vec = core::intrinsics::transmute(my_vec()); let _: Vec = core::mem::transmute(my_vec()); @@ -92,16 +92,16 @@ fn crosspointer() { unsafe { let _: Vec = core::intrinsics::transmute(vec_const_ptr); - //~^ ERROR transmute from a type (`*const collections::vec::Vec`) to the type that it points to (`collections::vec::Vec`) + //~^ ERROR transmute from a type (`*const std::vec::Vec`) to the type that it points to (`std::vec::Vec`) let _: Vec = core::intrinsics::transmute(vec_mut_ptr); - //~^ ERROR transmute from a type (`*mut collections::vec::Vec`) to the type that it points to (`collections::vec::Vec`) + //~^ ERROR transmute from a type (`*mut std::vec::Vec`) to the type that it points to (`std::vec::Vec`) let _: *const Vec = core::intrinsics::transmute(my_vec()); - //~^ ERROR transmute from a type (`collections::vec::Vec`) to a pointer to that type (`*const collections::vec::Vec`) + //~^ ERROR transmute from a type (`std::vec::Vec`) to a pointer to that type (`*const std::vec::Vec`) let _: *mut Vec = core::intrinsics::transmute(my_vec()); - //~^ ERROR transmute from a type (`collections::vec::Vec`) to a pointer to that type (`*mut collections::vec::Vec`) + //~^ ERROR transmute from a type (`std::vec::Vec`) to a pointer to that type (`*mut std::vec::Vec`) } }