John Kåre Alsaker
3a511e06a5
Only consider yields coming after the expressions when computing generator interiors
2017-09-20 16:36:24 +03:00
Alex Crichton
9620d26138
Fix more UI tests
2017-08-17 22:52:04 -07:00
Alex Crichton
a47038f551
Fix UI tests
2017-08-17 15:20:06 -07:00
Alex Crichton
22ebcaca16
Choose another error code
2017-08-14 19:38:32 -07:00
Alex Crichton
6eab1ca9dd
Fix UI test
2017-08-12 11:36:00 -07:00
Alex Crichton
e181060a59
Add UI test outputs
2017-08-09 16:37:56 -07:00
Alex Crichton
352577f4bb
Initial pass review comments
2017-08-09 13:56:19 -07:00
Alex Crichton
cc4ff8f4d1
Use a free error code
2017-07-29 09:30:03 -07:00
Alex Crichton
ff996853fe
Fix more tests with GeneratorState rename
2017-07-28 15:47:55 +02:00
Niko Matsakis
39478e8ab1
update references due to removing tabs
2017-07-28 15:46:27 +02:00
John Kåre Alsaker
d32428bc5f
Remove tabs
2017-07-28 15:46:27 +02:00
John Kåre Alsaker
f5ec50358a
Fix tidy errors
2017-07-28 15:46:27 +02:00
Niko Matsakis
3fdc3fa1ec
change how we report err_out_of_scope borrowck errors
...
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.
2017-07-28 15:46:27 +02:00