summary refs log tree commit diff
path: root/src/test/ui/generator
AgeCommit message (Collapse)AuthorLines
2017-09-20add proofs and fix postorder traversalAriel Ben-Yehuda-4/+4
I don't think the "quasi-postorder" travesal could cause any issues, but there's no reason for it to stay broken.
2017-09-20Only consider yields coming after the expressions when computing generator ↵John Kåre Alsaker-34/+0
interiors
2017-08-17Fix more UI testsAlex Crichton-1/+1
2017-08-17Fix UI testsAlex Crichton-10/+2
2017-08-14Choose another error codeAlex Crichton-1/+1
2017-08-12Fix UI testAlex Crichton-4/+4
2017-08-09Add UI test outputsAlex Crichton-0/+89
2017-08-09Initial pass review commentsAlex Crichton-0/+120
2017-07-29Use a free error codeAlex Crichton-5/+5
2017-07-28Fix more tests with `GeneratorState` renameAlex Crichton-4/+4
2017-07-28update references due to removing tabsNiko Matsakis-2/+2
2017-07-28Remove tabsJohn Kåre Alsaker-6/+6
2017-07-28Fix tidy errorsJohn Kåre Alsaker-8/+8
2017-07-28change how we report `err_out_of_scope` borrowck errorsNiko Matsakis-0/+349
Also, remove the explicit code detecting borrows over a yield. It turns out not to be necessary -- any such borrow winds up with a lifetime that is part of the generator type, and therefore which will outlive the generator expression itself, which yields an `err_out_of_scope`. So instead we intercept those errors and display them in a nicer way.