@@ -62,19 +62,19 @@ unsafe fn _ptr_to_ref<T, U>(p: *const T, m: *mut T, o: *const U, om: *mut U) {
62
62
fn useless ( ) {
63
63
unsafe {
64
64
let _: Vec < i32 > = core:: intrinsics:: transmute ( my_vec ( ) ) ;
65
- //~^ ERROR transmute from a type (`collections ::vec::Vec<i32>`) to itself
65
+ //~^ ERROR transmute from a type (`std ::vec::Vec<i32>`) to itself
66
66
67
67
let _: Vec < i32 > = core:: mem:: transmute ( my_vec ( ) ) ;
68
- //~^ ERROR transmute from a type (`collections ::vec::Vec<i32>`) to itself
68
+ //~^ ERROR transmute from a type (`std ::vec::Vec<i32>`) to itself
69
69
70
70
let _: Vec < i32 > = std:: intrinsics:: transmute ( my_vec ( ) ) ;
71
- //~^ ERROR transmute from a type (`collections ::vec::Vec<i32>`) to itself
71
+ //~^ ERROR transmute from a type (`std ::vec::Vec<i32>`) to itself
72
72
73
73
let _: Vec < i32 > = std:: mem:: transmute ( my_vec ( ) ) ;
74
- //~^ ERROR transmute from a type (`collections ::vec::Vec<i32>`) to itself
74
+ //~^ ERROR transmute from a type (`std ::vec::Vec<i32>`) to itself
75
75
76
76
let _: Vec < i32 > = my_transmute ( my_vec ( ) ) ;
77
- //~^ ERROR transmute from a type (`collections ::vec::Vec<i32>`) to itself
77
+ //~^ ERROR transmute from a type (`std ::vec::Vec<i32>`) to itself
78
78
79
79
let _: Vec < u32 > = core:: intrinsics:: transmute ( my_vec ( ) ) ;
80
80
let _: Vec < u32 > = core:: mem:: transmute ( my_vec ( ) ) ;
@@ -92,16 +92,16 @@ fn crosspointer() {
92
92
93
93
unsafe {
94
94
let _: Vec < i32 > = core:: intrinsics:: transmute ( vec_const_ptr) ;
95
- //~^ ERROR transmute from a type (`*const collections ::vec::Vec<i32>`) to the type that it points to (`collections ::vec::Vec<i32>`)
95
+ //~^ ERROR transmute from a type (`*const std ::vec::Vec<i32>`) to the type that it points to (`std ::vec::Vec<i32>`)
96
96
97
97
let _: Vec < i32 > = core:: intrinsics:: transmute ( vec_mut_ptr) ;
98
- //~^ ERROR transmute from a type (`*mut collections ::vec::Vec<i32>`) to the type that it points to (`collections ::vec::Vec<i32>`)
98
+ //~^ ERROR transmute from a type (`*mut std ::vec::Vec<i32>`) to the type that it points to (`std ::vec::Vec<i32>`)
99
99
100
100
let _: * const Vec < i32 > = core:: intrinsics:: transmute ( my_vec ( ) ) ;
101
- //~^ ERROR transmute from a type (`collections ::vec::Vec<i32>`) to a pointer to that type (`*const collections ::vec::Vec<i32>`)
101
+ //~^ ERROR transmute from a type (`std ::vec::Vec<i32>`) to a pointer to that type (`*const std ::vec::Vec<i32>`)
102
102
103
103
let _: * mut Vec < i32 > = core:: intrinsics:: transmute ( my_vec ( ) ) ;
104
- //~^ ERROR transmute from a type (`collections ::vec::Vec<i32>`) to a pointer to that type (`*mut collections ::vec::Vec<i32>`)
104
+ //~^ ERROR transmute from a type (`std ::vec::Vec<i32>`) to a pointer to that type (`*mut std ::vec::Vec<i32>`)
105
105
}
106
106
}
107
107
0 commit comments