about summary refs log tree commit diff
path: root/src/test/ui/generator/yield-in-args.rs
AgeCommit message (Collapse)AuthorLines
2018-12-25Remove licensesMark Rousskov-10/+0
2017-07-28Fix tidy errorsJohn Kåre Alsaker-4/+4
2017-07-28change how we report `err_out_of_scope` borrowck errorsNiko Matsakis-0/+20
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.