Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 4c66ed3

Browse files
committedJul 22, 2019
Fix ignored value
1 parent fe440eb commit 4c66ed3

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
@@ -97,7 +97,7 @@ impl MirPass for AddRetag {
9797
.filter(needs_retag)
9898
.collect::<Vec<_>>();
9999
// Emit their retags.
100-
basic_blocks[START_BLOCK].statements.splice(0..0,
100+
let _ = basic_blocks[START_BLOCK].statements.splice(0..0,
101101
places.into_iter().map(|place| Statement {
102102
source_info,
103103
kind: StatementKind::Retag(RetagKind::FnEntry, place),

0 commit comments

Comments
 (0)
Please sign in to comment.