Skip to content

Commit 13c2571

Browse files
committed
Fix ignored value
1 parent 02fc469 commit 13c2571

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
@@ -86,7 +86,7 @@ impl<'tcx> MirPass<'tcx> for AddRetag {
8686
.filter(needs_retag)
8787
.collect::<Vec<_>>();
8888
// Emit their retags.
89-
basic_blocks[START_BLOCK].statements.splice(0..0,
89+
let _ = basic_blocks[START_BLOCK].statements.splice(0..0,
9090
places.into_iter().map(|place| Statement {
9191
source_info,
9292
kind: StatementKind::Retag(RetagKind::FnEntry, box(place)),

0 commit comments

Comments
 (0)