Skip to content

Commit 174f789

Browse files
committed
Add hack to silence the annoying liveness warning in trans/base.rs.
1 parent 842f9d8 commit 174f789

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/rustc/middle/trans/base.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3857,6 +3857,7 @@ fn trans_break_cont(bcx: block, to_end: bool)
38573857
// Locate closest loop block, outputting cleanup as we go.
38583858
let mut unwind = bcx;
38593859
let mut target = bcx; // FIXME---not necc. but tstate thinks it is
3860+
let _target = target; // FIXME---hack to shut up liveness about target
38603861
loop {
38613862
alt unwind.kind {
38623863
block_scope({loop_break: some(brk), _}) {

0 commit comments

Comments
 (0)