@@ -299,7 +299,7 @@ fn fixed_vec_metadata<'a, 'tcx>(cx: &CrateContext<'a, 'tcx>,
299299 llvm:: LLVMRustDIBuilderCreateArrayType (
300300 DIB ( cx) ,
301301 bytes_to_bits ( array_size_in_bytes) ,
302- bytes_to_bits ( element_type_align) as u32 ,
302+ bytes_to_bits ( element_type_align) ,
303303 element_type_metadata,
304304 subscripts)
305305 } ;
@@ -730,7 +730,7 @@ fn basic_type_metadata<'a, 'tcx>(cx: &CrateContext<'a, 'tcx>,
730730 DIB ( cx) ,
731731 name. as_ptr ( ) ,
732732 bytes_to_bits ( size) ,
733- bytes_to_bits ( align) as u32 ,
733+ bytes_to_bits ( align) ,
734734 encoding)
735735 } ;
736736
@@ -750,7 +750,7 @@ fn pointer_type_metadata<'a, 'tcx>(cx: &CrateContext<'a, 'tcx>,
750750 DIB ( cx) ,
751751 pointee_type_metadata,
752752 bytes_to_bits ( pointer_size) ,
753- bytes_to_bits ( pointer_align) as u32 ,
753+ bytes_to_bits ( pointer_align) ,
754754 name. as_ptr ( ) )
755755 } ;
756756 return ptr_metadata;
@@ -1504,7 +1504,7 @@ fn prepare_enum_metadata<'a, 'tcx>(cx: &CrateContext<'a, 'tcx>,
15041504 file_metadata,
15051505 UNKNOWN_LINE_NUMBER ,
15061506 bytes_to_bits ( discriminant_size) ,
1507- bytes_to_bits ( discriminant_align) as u32 ,
1507+ bytes_to_bits ( discriminant_align) ,
15081508 create_DIArray ( DIB ( cx) , & enumerators_metadata) ,
15091509 discriminant_base_type_metadata)
15101510 } ;
@@ -1546,7 +1546,7 @@ fn prepare_enum_metadata<'a, 'tcx>(cx: &CrateContext<'a, 'tcx>,
15461546 file_metadata,
15471547 UNKNOWN_LINE_NUMBER ,
15481548 bytes_to_bits ( enum_type_size) ,
1549- bytes_to_bits ( enum_type_align) as u32 ,
1549+ bytes_to_bits ( enum_type_align) ,
15501550 DIFlags :: FlagZero ,
15511551 ptr:: null_mut ( ) ,
15521552 0 , // RuntimeLang
@@ -1648,7 +1648,7 @@ fn set_members_of_composite_type(cx: &CrateContext,
16481648 unknown_file_metadata ( cx) ,
16491649 UNKNOWN_LINE_NUMBER ,
16501650 bytes_to_bits ( member_size) ,
1651- bytes_to_bits ( member_align) as u32 ,
1651+ bytes_to_bits ( member_align) ,
16521652 bytes_to_bits ( member_offset) ,
16531653 member_description. flags ,
16541654 member_description. type_metadata )
@@ -1691,7 +1691,7 @@ fn create_struct_stub(cx: &CrateContext,
16911691 unknown_file_metadata ( cx) ,
16921692 UNKNOWN_LINE_NUMBER ,
16931693 bytes_to_bits ( struct_size) ,
1694- bytes_to_bits ( struct_align) as u32 ,
1694+ bytes_to_bits ( struct_align) ,
16951695 DIFlags :: FlagZero ,
16961696 ptr:: null_mut ( ) ,
16971697 empty_array,
@@ -1728,7 +1728,7 @@ fn create_union_stub(cx: &CrateContext,
17281728 unknown_file_metadata ( cx) ,
17291729 UNKNOWN_LINE_NUMBER ,
17301730 bytes_to_bits ( union_size) ,
1731- bytes_to_bits ( union_align) as u32 ,
1731+ bytes_to_bits ( union_align) ,
17321732 DIFlags :: FlagZero ,
17331733 empty_array,
17341734 0 , // RuntimeLang
@@ -1783,7 +1783,7 @@ pub fn create_global_var_metadata(cx: &CrateContext,
17831783 is_local_to_unit,
17841784 global,
17851785 ptr:: null_mut ( ) ,
1786- global_align as u32 ,
1786+ global_align,
17871787 ) ;
17881788 }
17891789}
0 commit comments