Add hack to silence the annoying liveness warning in trans/base.rs.
This commit is contained in:
parent
842f9d8616
commit
174f789e0b
1 changed files with 1 additions and 0 deletions
|
@ -3857,6 +3857,7 @@ fn trans_break_cont(bcx: block, to_end: bool)
|
|||
// Locate closest loop block, outputting cleanup as we go.
|
||||
let mut unwind = bcx;
|
||||
let mut target = bcx; // FIXME---not necc. but tstate thinks it is
|
||||
let _target = target; // FIXME---hack to shut up liveness about target
|
||||
loop {
|
||||
alt unwind.kind {
|
||||
block_scope({loop_break: some(brk), _}) {
|
||||
|
|
Loading…
Reference in a new issue