Skip to content

Commit ab7eb21

Browse files
committed
Fix ignored value
1 parent 4c80bcb commit ab7eb21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_mir/transform/add_retag.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ impl<'tcx> MirPass<'tcx> for AddRetag {
9393
.filter(needs_retag)
9494
.collect::<Vec<_>>();
9595
// Emit their retags.
96-
basic_blocks[START_BLOCK].statements.splice(0..0,
96+
let _ = basic_blocks[START_BLOCK].statements.splice(0..0,
9797
places.into_iter().map(|place| Statement {
9898
source_info,
9999
kind: StatementKind::Retag(RetagKind::FnEntry, place),

0 commit comments

Comments
 (0)