@@ -35,7 +35,7 @@ enum EnumNoDrop<T1, T2> {
3535struct NonGenericNoDrop ( #[ allow( dead_code) ] i32 ) ;
3636
3737struct NonGenericWithDrop ( #[ allow( dead_code) ] i32 ) ;
38- //~ MONO_ITEM fn std::ptr::drop_in_place ::<NonGenericWithDrop> - shim(Some(NonGenericWithDrop)) @@ generic_drop_glue-cgu.0[Internal]
38+ //~ MONO_ITEM fn std::ptr::drop_glue ::<NonGenericWithDrop> - shim(Some(NonGenericWithDrop)) @@ generic_drop_glue-cgu.0[Internal]
3939
4040impl Drop for NonGenericWithDrop {
4141 //~ MONO_ITEM fn <NonGenericWithDrop as std::ops::Drop>::drop
@@ -45,11 +45,11 @@ impl Drop for NonGenericWithDrop {
4545//~ MONO_ITEM fn start
4646#[ no_mangle]
4747pub fn start ( _: isize , _: * const * const u8 ) -> isize {
48- //~ MONO_ITEM fn std::ptr::drop_in_place ::<StructWithDrop<i8, char>> - shim(Some(StructWithDrop<i8, char>)) @@ generic_drop_glue-cgu.0[Internal]
48+ //~ MONO_ITEM fn std::ptr::drop_glue ::<StructWithDrop<i8, char>> - shim(Some(StructWithDrop<i8, char>)) @@ generic_drop_glue-cgu.0[Internal]
4949 //~ MONO_ITEM fn <StructWithDrop<i8, char> as std::ops::Drop>::drop
5050 let _ = StructWithDrop { x : 0i8 , y : 'a' } . x ;
5151
52- //~ MONO_ITEM fn std::ptr::drop_in_place ::<StructWithDrop<&str, NonGenericNoDrop>> - shim(Some(StructWithDrop<&str, NonGenericNoDrop>)) @@ generic_drop_glue-cgu.0[Internal]
52+ //~ MONO_ITEM fn std::ptr::drop_glue ::<StructWithDrop<&str, NonGenericNoDrop>> - shim(Some(StructWithDrop<&str, NonGenericNoDrop>)) @@ generic_drop_glue-cgu.0[Internal]
5353 //~ MONO_ITEM fn <StructWithDrop<&str, NonGenericNoDrop> as std::ops::Drop>::drop
5454 let _ = StructWithDrop { x : "&str" , y : NonGenericNoDrop ( 0 ) } . y ;
5555
@@ -58,17 +58,17 @@ pub fn start(_: isize, _: *const *const u8) -> isize {
5858
5959 // This is supposed to generate drop-glue because it contains a field that
6060 // needs to be dropped.
61- //~ MONO_ITEM fn std::ptr::drop_in_place ::<StructNoDrop<NonGenericWithDrop, f64>> - shim(Some(StructNoDrop<NonGenericWithDrop, f64>)) @@ generic_drop_glue-cgu.0[Internal]
61+ //~ MONO_ITEM fn std::ptr::drop_glue ::<StructNoDrop<NonGenericWithDrop, f64>> - shim(Some(StructNoDrop<NonGenericWithDrop, f64>)) @@ generic_drop_glue-cgu.0[Internal]
6262 let _ = StructNoDrop { x : NonGenericWithDrop ( 0 ) , y : 0f64 } . y ;
6363
64- //~ MONO_ITEM fn std::ptr::drop_in_place ::<EnumWithDrop<i32, i64>> - shim(Some(EnumWithDrop<i32, i64>)) @@ generic_drop_glue-cgu.0[Internal]
64+ //~ MONO_ITEM fn std::ptr::drop_glue ::<EnumWithDrop<i32, i64>> - shim(Some(EnumWithDrop<i32, i64>)) @@ generic_drop_glue-cgu.0[Internal]
6565 //~ MONO_ITEM fn <EnumWithDrop<i32, i64> as std::ops::Drop>::drop
6666 let _ = match EnumWithDrop :: A :: < i32 , i64 > ( 0 ) {
6767 EnumWithDrop :: A ( x) => x,
6868 EnumWithDrop :: B ( x) => x as i32 ,
6969 } ;
7070
71- //~ MONO_ITEM fn std::ptr::drop_in_place ::<EnumWithDrop<f64, f32>> - shim(Some(EnumWithDrop<f64, f32>)) @@ generic_drop_glue-cgu.0[Internal]
71+ //~ MONO_ITEM fn std::ptr::drop_glue ::<EnumWithDrop<f64, f32>> - shim(Some(EnumWithDrop<f64, f32>)) @@ generic_drop_glue-cgu.0[Internal]
7272 //~ MONO_ITEM fn <EnumWithDrop<f64, f32> as std::ops::Drop>::drop
7373 let _ = match EnumWithDrop :: B :: < f64 , f32 > ( 1.0 ) {
7474 EnumWithDrop :: A ( x) => x,
0 commit comments