]> git.lizzy.rs Git - rust.git/commit
Tests for shadowing between lifetimes and loop labels within function bodies.
authorFelix S. Klock II <pnkfelix@pnkfx.org>
Wed, 8 Apr 2015 16:37:47 +0000 (18:37 +0200)
committerFelix S. Klock II <pnkfelix@pnkfx.org>
Tue, 21 Apr 2015 16:09:46 +0000 (18:09 +0200)
commitccc9f5eb846aa4be48b080eed810e26d2f96bdde
tree9c38e31ce354f26f619f0e8a8c1fe19032a196f2
parentdd240707999216a64e7914c2290cb59c54d9c60c
Tests for shadowing between lifetimes and loop labels within function bodies.
src/test/compile-fail/loop-labeled-break-value.rs
src/test/compile-fail/loops-reject-duplicate-labels-2.rs [new file with mode: 0644]
src/test/compile-fail/loops-reject-duplicate-labels.rs [new file with mode: 0644]
src/test/compile-fail/loops-reject-labels-shadowing-lifetimes.rs [new file with mode: 0644]
src/test/compile-fail/loops-reject-lifetime-shadowing-label.rs [new file with mode: 0644]
src/test/compile-fail/shadowed-lifetime.rs