about summary refs log tree commit diff
path: root/src/test/ui/break-while-condition.rs
AgeCommit message (Collapse)AuthorLines
2019-12-14Revert "Remove `#![feature(never_type)]` from tests."Niko Matsakis-0/+2
This reverts commit 8f6197f39f7d468dfc5b2bd41dae4769992a2f83.
2019-11-21Remove `#![feature(never_type)]` from tests.Mazdak Farrokhzad-2/+0
Also remove `never_type` the feature-gate test.
2018-12-25Remove licensesMark Rousskov-10/+0
2018-05-25--bless the testsvarkor-4/+4
2018-05-25Add a test for returning inside a while loopvarkor-3/+25
2018-05-25Fix behaviour of divergence in while loop conditionsvarkor-0/+17
This fixes `'a: while break 'a {};` being treated as diverging, by tracking break expressions in the same way as in `loop` expressions.