| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2018-06-06 | It turns out that the diagnostics generated from NLL for these cases are now ↵ | Felix S. Klock II | -11/+0 | |
| exactly the same as that produced by AST borrowck. Bravo! | ||||
| 2018-05-25 | rust-lang/rust#51025: improve test robustness so that they work under NLL too. | Felix S. Klock II | -8/+27 | |
| 2018-05-01 | Update ui/generator tests to reflect changes from new generator drop rules. | Felix S. Klock II | -32/+74 | |
| 2018-04-27 | Access individual fields of tuples, closures and generators on drop. | Matthew Jasper | -30/+2 | |
| 2018-04-11 | Checkpoint the current status of NLL on `ui` tests via compare-mode=nll. | Felix S. Klock II | -0/+130 | |
| 2018-04-11 | Workaround rust-lang/rust#49855 by forcing rustc_error in any mode, ↵ | Felix S. Klock II | -6/+6 | |
| including NLL. NOTE: I was careful to make each change in a manner that preserves the existing diagnostic output (usually by ensuring that no lines were added or removed). This means that the resulting source files are not as nice to read as they were at the start. But we will have to review these cases by hand anyway as follow-up work, so cleanup could reasonably happen then (or not at all). | ||||
| 2018-03-25 | Rollup merge of #49194 - Zoxc:unsafe-generator, r=cramertj | kennytm | -48/+20 | |
| Make resuming generators unsafe instead of the creation of immovable generators cc @withoutboats Fixes #47787 | ||||
| 2018-03-21 | use subtyping when we create a closure instead of for upvar types | Niko Matsakis | -3/+3 | |
| We used to make the upvar types in the closure `==` but that was stronger than we needed. Subtyping suffices, since we are copying the upvar value into the closure field. This in turn allows us to infer smaller lifetimes in captured values in some cases (like the example here), avoiding errors. | ||||
| 2018-03-21 | Make resuming generators unsafe instead of the creation of immovable ↵ | John Kåre Alsaker | -48/+20 | |
| generators. Fixes #47787 | ||||
| 2018-03-16 | Rollup merge of #48706 - ehuss:main-not-found-in-crate, r=estebank | kennytm | -10/+8 | |
| Add crate name to "main function not found" error message. Fixes #44798 and rust-lang/cargo#4948. I was wondering if it might be cleaner to update the ui tests to add a simple `fn main() {}` for the unrelated tests. Let me know if you would prefer that. | ||||
| 2018-03-15 | Auto merge of #48138 - estebank:issue-45092, r=nikomatsakis | bors | -4/+4 | |
| Reword E0044 and message for `!Send` types - Reword E0044 help. - Change error message for types that don't implement `Send` CC #45092, #46678, #24909, #33307. | ||||
| 2018-03-14 | Reword E0044 and message for `!Send` types | Esteban Küber | -4/+4 | |
| - Reword E0044 help. - Change error message for types that don't implement `Send` | ||||
| 2018-03-14 | Add empty main() to tests where it is missing. | Eric Huss | -10/+8 | |
| 2018-03-14 | Add crate name to "main function not found" error message. | Eric Huss | -2/+2 | |
| Fixes #44798 and rust-lang/cargo#4948. | ||||
| 2018-03-14 | update tests | Guillaume Gomez | -22/+22 | |
| 2018-02-26 | Update UI tests | Vadim Petrochenkov | -7/+7 | |
| 2018-02-26 | Update UI tests | Vadim Petrochenkov | -61/+61 | |
| 2018-02-25 | Update ui tests | Guillaume Gomez | -0/+22 | |
| 2018-02-09 | Fix visitation order of calls so that it matches execution order. Fixes #48048 | John Kåre Alsaker | -0/+33 | |
| 2018-01-30 | Allow access of the state field before the generator transform. Fixes ↵ | John Kåre Alsaker | -18/+18 | |
| #47482, #46476 | ||||
| 2018-01-29 | Require yield types to be sized | John Kåre Alsaker | -0/+43 | |
| 2018-01-29 | Make `yield_in_scope_for_expr` work with patterns. Fixes #47758 | John Kåre Alsaker | -0/+33 | |
| 2018-01-23 | Port borrows across yield check to MIR borrowck | John Kåre Alsaker | -0/+54 | |
| 2018-01-23 | Add dropck test | John Kåre Alsaker | -0/+44 | |
| 2018-01-23 | Fix yield-while-local-borrowed.rs test | John Kåre Alsaker | -8/+42 | |
| 2018-01-23 | Make immovable generators unsafe | John Kåre Alsaker | -0/+27 | |
| 2018-01-23 | Adds support for immovable generators. Move checking of invalid borrows ↵ | John Kåre Alsaker | -4/+97 | |
| across suspension points to borrowck. Fixes #44197, #45259 and #45093. | ||||
| 2018-01-15 | On E0283, point at method with the requirements | Esteban Küber | -2/+10 | |
| On required type annotation diagnostic error, point at method with the requirements if the span is available. | ||||
| 2017-12-14 | Point at var in short lived borrows | Esteban Küber | -8/+10 | |
| 2017-11-24 | Merge cfail and ui tests into ui tests | Oliver Schneider | -5/+5 | |
| 2017-09-20 | add proofs and fix postorder traversal | Ariel 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-20 | Only consider yields coming after the expressions when computing generator ↵ | John Kåre Alsaker | -34/+0 | |
| interiors | ||||
| 2017-08-17 | Fix more UI tests | Alex Crichton | -1/+1 | |
| 2017-08-17 | Fix UI tests | Alex Crichton | -10/+2 | |
| 2017-08-14 | Choose another error code | Alex Crichton | -1/+1 | |
| 2017-08-12 | Fix UI test | Alex Crichton | -4/+4 | |
| 2017-08-09 | Add UI test outputs | Alex Crichton | -0/+89 | |
| 2017-08-09 | Initial pass review comments | Alex Crichton | -0/+120 | |
| 2017-07-29 | Use a free error code | Alex Crichton | -5/+5 | |
| 2017-07-28 | Fix more tests with `GeneratorState` rename | Alex Crichton | -4/+4 | |
| 2017-07-28 | update references due to removing tabs | Niko Matsakis | -2/+2 | |
| 2017-07-28 | Remove tabs | John Kåre Alsaker | -6/+6 | |
| 2017-07-28 | Fix tidy errors | John Kåre Alsaker | -8/+8 | |
| 2017-07-28 | change how we report `err_out_of_scope` borrowck errors | Niko 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. | ||||
