]> git.lizzy.rs Git - rust.git/commit
Fix unused_assignments false positive
authorShotaro Yamada <sinkuu@sinkuu.xyz>
Thu, 3 Jan 2019 12:49:56 +0000 (21:49 +0900)
committerShotaro Yamada <sinkuu@sinkuu.xyz>
Thu, 3 Jan 2019 14:25:41 +0000 (23:25 +0900)
commit6bae4a763df95c436ce9f1286b1d593e67218932
treed8f9cb57d24824dcefacdb5bb592a06601804968
parent140936307e692c324815c9640696b3e3f0c7ae78
Fix unused_assignments false positive

Make `continue` jump to the loop condition's `LiveNode` instead of one
of the loop body.
src/librustc/middle/liveness.rs
src/test/ui/liveness/liveness-dead.rs