]> git.lizzy.rs Git - rust.git/commit
Fix tests for MIR loop lowering
authorbobtwinkles <srkoser+GitHub@gmail.com>
Thu, 8 Feb 2018 01:00:54 +0000 (20:00 -0500)
committerbobtwinkles <srkoser+GitHub@gmail.com>
Thu, 8 Feb 2018 01:00:54 +0000 (20:00 -0500)
commit85dfa9d1a33be7a4e7276e03660fb9966057cb6e
tree2db91c69e0a871f2580f95ac6eea3dcfa0aa7917
parent8e0c3f5c462acc7da61c59e81510765da1919e80
Fix tests for MIR loop lowering

Fixes the hash test to recognize that MirValidated can change when changing
around labels, and add a new test that makes sure we're lowering loop statements
correctly.
src/test/incremental/hashes/loop_expressions.rs
src/test/mir-opt/loop_test.rs [new file with mode: 0644]