File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
src/librustc_codegen_llvm/debuginfo Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -1551,7 +1551,7 @@ fn composite_type_metadata(
1551
1551
composite_type_metadata,
1552
1552
member_descriptions) ;
1553
1553
1554
- return composite_type_metadata;
1554
+ composite_type_metadata
1555
1555
}
1556
1556
1557
1557
fn set_members_of_composite_type ( cx : & CodegenCx < ' ll , ' _ > ,
@@ -1639,7 +1639,7 @@ fn create_struct_stub(
1639
1639
unique_type_id. as_ptr ( ) )
1640
1640
} ;
1641
1641
1642
- return metadata_stub;
1642
+ metadata_stub
1643
1643
}
1644
1644
1645
1645
fn create_union_stub (
@@ -1675,7 +1675,7 @@ fn create_union_stub(
1675
1675
unique_type_id. as_ptr ( ) )
1676
1676
} ;
1677
1677
1678
- return metadata_stub;
1678
+ metadata_stub
1679
1679
}
1680
1680
1681
1681
/// Creates debug information for the given global variable.
Original file line number Diff line number Diff line change @@ -371,7 +371,7 @@ pub fn create_function_debug_context(
371
371
}
372
372
}
373
373
374
- return create_DIArray ( DIB ( cx) , & signature[ ..] ) ;
374
+ create_DIArray ( DIB ( cx) , & signature[ ..] )
375
375
}
376
376
377
377
fn get_template_parameters (
@@ -428,7 +428,7 @@ pub fn create_function_debug_context(
428
428
vec ! [ ]
429
429
} ;
430
430
431
- return create_DIArray ( DIB ( cx) , & template_params[ ..] ) ;
431
+ create_DIArray ( DIB ( cx) , & template_params[ ..] )
432
432
}
433
433
434
434
fn get_parameter_names ( cx : & CodegenCx ,
You can’t perform that action at this time.
0 commit comments