File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/librustdoc/html/render Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -60,8 +60,8 @@ pub(crate) fn document_type_layout<'a, 'cx: 'a>(
6060 span_bug ! ( tcx. def_span( ty_def_id) , "not an adt" )
6161 } ;
6262 let name = adt. variant ( variant_idx) . name ;
63- let is_unsized = variant_layout. abi . is_unsized ( ) ;
64- let is_uninhabited = variant_layout. abi . is_uninhabited ( ) ;
63+ let is_unsized = variant_layout. is_unsized ( ) ;
64+ let is_uninhabited = variant_layout. is_uninhabited ( ) ;
6565 let size = variant_layout. size . bytes ( ) - tag_size;
6666 let type_layout_size = TypeLayoutSize { is_unsized, is_uninhabited, size } ;
6767 ( name, type_layout_size)
@@ -72,8 +72,8 @@ pub(crate) fn document_type_layout<'a, 'cx: 'a>(
7272 } ;
7373
7474 let type_layout_size = tcx. layout_of ( param_env. and ( ty) ) . map ( |layout| {
75- let is_unsized = layout. abi . is_unsized ( ) ;
76- let is_uninhabited = layout. abi . is_uninhabited ( ) ;
75+ let is_unsized = layout. is_unsized ( ) ;
76+ let is_uninhabited = layout. is_uninhabited ( ) ;
7777 let size = layout. size . bytes ( ) ;
7878 TypeLayoutSize { is_unsized, is_uninhabited, size }
7979 } ) ;
You can’t perform that action at this time.
0 commit comments