rust/src/test/ui/generator
kennytm e2b89221f1
Rollup merge of #49194 - Zoxc:unsafe-generator, r=cramertj
Make resuming generators unsafe instead of the creation of immovable generators

cc @withoutboats

Fixes #47787
2018-03-25 01:26:34 +08:00
..
auto-trait-regions.rs Adds support for immovable generators. Move checking of invalid borrows across suspension points to borrowck. Fixes #44197, #45259 and #45093. 2018-01-23 05:10:38 +01:00
auto-trait-regions.stderr use subtyping when we create a closure instead of for upvar types 2018-03-21 05:40:59 -04:00
borrowing.rs Make resuming generators unsafe instead of the creation of immovable generators. Fixes #47787 2018-03-21 00:09:58 +01:00
borrowing.stderr Make resuming generators unsafe instead of the creation of immovable generators. Fixes #47787 2018-03-21 00:09:58 +01:00
dropck.rs Make resuming generators unsafe instead of the creation of immovable generators. Fixes #47787 2018-03-21 00:09:58 +01:00
dropck.stderr update tests 2018-03-14 00:53:24 +01:00
generator-with-nll.rs Port borrows across yield check to MIR borrowck 2018-01-23 05:10:39 +01:00
generator-with-nll.stderr update tests 2018-03-14 00:53:24 +01:00
issue-48048.rs Fix visitation order of calls so that it matches execution order. Fixes #48048 2018-02-09 10:49:24 +01:00
issue-48048.stderr update tests 2018-03-14 00:53:24 +01:00
no-arguments-on-generators.rs Initial pass review comments 2017-08-09 13:56:19 -07:00
no-arguments-on-generators.stderr update tests 2018-03-14 00:53:24 +01:00
not-send-sync.rs Reword E0044 and message for !Send types 2018-03-14 18:04:20 -07:00
not-send-sync.stderr Auto merge of #48138 - estebank:issue-45092, r=nikomatsakis 2018-03-15 13:16:09 +00:00
pattern-borrow.rs Make yield_in_scope_for_expr work with patterns. Fixes #47758 2018-01-29 10:02:03 +01:00
pattern-borrow.stderr update tests 2018-03-14 00:53:24 +01:00
ref-escapes-but-not-over-yield.rs Point at var in short lived borrows 2017-12-14 22:45:45 -08:00
ref-escapes-but-not-over-yield.stderr update tests 2018-03-14 00:53:24 +01:00
sized-yield.rs Make resuming generators unsafe instead of the creation of immovable generators. Fixes #47787 2018-03-21 00:09:58 +01:00
sized-yield.stderr Make resuming generators unsafe instead of the creation of immovable generators. Fixes #47787 2018-03-21 00:09:58 +01:00
yield-in-args.rs Fix tidy errors 2017-07-28 15:46:27 +02:00
yield-in-args.stderr update tests 2018-03-14 00:53:24 +01:00
yield-in-const.rs Add empty main() to tests where it is missing. 2018-03-14 12:23:28 -07:00
yield-in-const.stderr Add empty main() to tests where it is missing. 2018-03-14 12:23:28 -07:00
yield-in-function.rs Initial pass review comments 2017-08-09 13:56:19 -07:00
yield-in-function.stderr update tests 2018-03-14 00:53:24 +01:00
yield-in-static.rs Add empty main() to tests where it is missing. 2018-03-14 12:23:28 -07:00
yield-in-static.stderr Add empty main() to tests where it is missing. 2018-03-14 12:23:28 -07:00
yield-while-iterating.rs Make resuming generators unsafe instead of the creation of immovable generators. Fixes #47787 2018-03-21 00:09:58 +01:00
yield-while-iterating.stderr update tests 2018-03-14 00:53:24 +01:00
yield-while-local-borrowed.rs Make resuming generators unsafe instead of the creation of immovable generators. Fixes #47787 2018-03-21 00:09:58 +01:00
yield-while-local-borrowed.stderr update tests 2018-03-14 00:53:24 +01:00
yield-while-ref-reborrowed.rs Make resuming generators unsafe instead of the creation of immovable generators. Fixes #47787 2018-03-21 00:09:58 +01:00
yield-while-ref-reborrowed.stderr update tests 2018-03-14 00:53:24 +01:00