| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2023-12-18 | Add a test demonstrating that RFC's note on diverging returns is subsumed by ↵ | Michael Goulet | -0/+20 | |
| just inferring unit as ret type | ||||
| 2023-12-18 | Make sure all kinds of generators only return unit | Michael Goulet | -0/+52 | |
| 2023-12-18 | Ensure `yield` expressions desugar correctly in async generators | Michael Goulet | -0/+17 | |
| 2023-12-14 | Rollup merge of #118948 - compiler-errors:noop, r=eholk | Jubilee | -19/+5 | |
| Use the `Waker::noop` API in tests Avoids the need to duplicate this code over and over again r? eholk | ||||
| 2023-12-14 | Use the Waker::noop API in tests | Michael Goulet | -19/+5 | |
| 2023-12-14 | update use of feature flags | lcnr | -5/+5 | |
| 2023-12-13 | Rollup merge of #118871 - tmiasko:coroutine-maybe-uninit-fields, ↵ | Matthias Krüger | -0/+37 | |
| r=compiler-errors Coroutine variant fields can be uninitialized Wrap coroutine variant fields in MaybeUninit to indicate that they might be uninitialized. Otherwise an uninhabited field will make the entire variant uninhabited and introduce undefined behaviour. The analogous issue in the prefix of coroutine layout was addressed by 6fae7f807146e400fa2bbd1c44768d9bcaa57c4c. | ||||
| 2023-12-12 | Actually parse async gen blocks correctly | Michael Goulet | -0/+14 | |
| 2023-12-12 | Coroutine variant fields can be uninitialized | Tomasz Miąsko | -0/+37 | |
| Wrap coroutine variant fields in MaybeUninit to indicate that they might be uninitialized. Otherwise an uninhabited field will make the entire variant uninhabited and introduce undefined behaviour. The analogous issue in the prefix of coroutine layout was addressed by 6fae7f807146e400fa2bbd1c44768d9bcaa57c4c. | ||||
| 2023-12-10 | remove redundant imports | surechen | -5/+2 | |
| detects redundant imports that can be eliminated. for #117772 : In order to facilitate review and modification, split the checking code and removing redundant imports code into two PR. | ||||
| 2023-12-08 | Make async generators fused by default | Michael Goulet | -0/+4 | |
| 2023-12-08 | Add tests | Michael Goulet | -10/+132 | |
| 2023-12-08 | Support async gen fn | Michael Goulet | -13/+7 | |
| 2023-12-04 | Address code review feedback | Eric Holk | -0/+19 | |
| 2023-12-04 | Merge Async and Gen into CoroutineKind | Eric Holk | -0/+2 | |
| 2023-12-04 | Add a basic test for gen fn | Eric Holk | -0/+18 | |
| 2023-12-04 | Make async gen fn an error | Eric Holk | -0/+19 | |
| 2023-12-04 | gate gen fn behind gen_blocks | Eric Holk | -3/+5 | |
| 2023-11-28 | Fix coroutine validation for mixed panic strategy | Tomasz Miąsko | -0/+24 | |
| Validation introduced in #113124 allows UnwindAction::Continue and TerminatorKind::Resume to occur only in functions with ABI that can unwind. The function ABI depends on the panic strategy, which can vary across crates. Usually MIR is built and validated in the same crate. The coroutine drop glue thus far was an exception. As a result validation could fail when mixing different panic strategies. Avoid the problem by executing AbortUnwindingCalls along with the validation. | ||||
| 2023-11-24 | Manual find replace updates | Nilstrieb | -1/+1 | |
| 2023-11-24 | Show number in error message even for one error | Nilstrieb | -36/+36 | |
| Co-authored-by: Adrian <adrian.iosdev@gmail.com> | ||||
| 2023-11-22 | Allow defining opaques in check_coroutine_obligations | Michael Goulet | -0/+17 | |
| 2023-11-17 | Rollup merge of #117338 - workingjubilee:asmjs-meets-thanatos, r=b-naber | Matthias Krüger | -2/+0 | |
| Remove asmjs Fulfills [MCP 668](https://github.com/rust-lang/compiler-team/issues/668). `asmjs-unknown-emscripten` does not work as-specified, and lacks essential upstream support for generating asm.js, so it should not exist at all. | ||||
| 2023-11-13 | rename `ReLateBound` to `ReBound` | lcnr | -1/+1 | |
| other changes: - `Region::new_late_bound` -> `Region::new_bound` - `Region::is_late_bound` -> `Region::is_bound` | ||||
| 2023-11-08 | generator layout: ignore fake borrows | lcnr | -0/+34 | |
| 2023-11-02 | dropck_outlives check generator witness needs_drop | lcnr | -37/+10 | |
| 2023-10-30 | Only run panic tests on targets that can unwind | Oli Scherer | -1/+2 | |
| 2023-10-30 | Add a custom panic message for resuming `gen` blocks after they panicked | Oli Scherer | -0/+37 | |
| 2023-10-30 | Talk about `gen fn` in diagnostics about `gen fn` | Oli Scherer | -3/+3 | |
| 2023-10-28 | Remove asmjs from tests | Jubilee Young | -2/+0 | |
| 2023-10-27 | Fuse `gen` blocks | Oli Scherer | -19/+2 | |
| 2023-10-27 | Use targetted diagnostic for borrow across yield error | Oli Scherer | -2/+2 | |
| 2023-10-27 | Prevent generators from being movable | Oli Scherer | -0/+28 | |
| 2023-10-27 | Handle `move` generators | Oli Scherer | -0/+98 | |
| 2023-10-27 | Feature gate coroutine `yield` usage | Oli Scherer | -5/+25 | |
| 2023-10-27 | Demonstrate issue with `yield` checks | Oli Scherer | -2/+15 | |
| 2023-10-27 | Feature gate `gen` blocks, even in 2024 edition | Oli Scherer | -5/+5 | |
| 2023-10-27 | Basic generators work | Oli Scherer | -0/+18 | |
| 2023-10-27 | Make `gen` blocks implement the `Iterator` trait | Oli Scherer | -0/+78 | |
| 2023-10-27 | Add gen blocks to ast and do some broken ast lowering | Oli Scherer | -10/+10 | |
| 2023-10-26 | Reserve `gen` keyword for `gen {}` blocks and `gen fn` in 2024 edition | Oli Scherer | -0/+78 | |
| 2023-10-20 | Rename `generator` folder | Oli Scherer | -0/+5490 | |
