...................i..ii............ 6400/9556
2020-01-25T04:06:08.4748586Z.................................................................................................... 6600/9556
2020-01-25T04:06:16.5435583Z...........................................................i........................................ 6700/9556
2020-01-25T04:06:18.6752993Z.................................................................................................... 6800/9556
2020-01-25T04:06:20.8118935Z..........................................................i......................................... 6900/9556
---
2020-01-25T04:07:54.9691210Z.................................................................................................... 7600/9556
2020-01-25T04:08:00.2029784Z.................................................................................................... 7700/9556
2020-01-25T04:08:06.6594955Z.................................................................................................... 7800/9556
2020-01-25T04:08:17.2968033Z.................................................................................................... 7900/9556
2020-01-25T04:08:23.2974084Z..............iiiiiii............................................................................... 8000/9556
2020-01-25T04:08:37.2646936Z.................................................................................................... 8200/9556
2020-01-25T04:08:47.4538747Z.................................................................................................... 8300/9556
2020-01-25T04:09:00.2532206Z.................................................................................................... 8400/9556
2020-01-25T04:09:06.6937614Z.................................................................................................... 8500/9556
---
2020-01-25T04:11:10.4639800Z ---- [run-fail] run-fail/generator-resume-after-panic.rs stdout ----
2020-01-25T04:11:10.4639949Z 
2020-01-25T04:11:10.4640097Z error: compilation failed!
2020-01-25T04:11:10.4640254Z status: exit code: 1
2020-01-25T04:11:10.4641529Z command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/run-fail/generator-resume-after-panic.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "-C" "prefer-dynamic" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-fail/generator-resume-after-panic/a" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-fail/generator-resume-after-panic/auxiliary"
2020-01-25T04:11:10.4642194Z ------------------------------------------
2020-01-25T04:11:10.4642337Z 
2020-01-25T04:11:10.4642695Z ------------------------------------------
2020-01-25T04:11:10.4642853Z stderr:
---
2020-01-25T04:11:10.4645644Z 
2020-01-25T04:11:10.4645807Z error[E0061]: this function takes 1 parameter but 0 parameters were supplied
2020-01-25T04:11:10.4646176Z   --> /checkout/src/test/run-fail/generator-resume-after-panic.rs:19:34
2020-01-25T04:11:10.4646346Z    |
2020-01-25T04:11:10.4646487Z 19 |         let x = Pin::new(&mut g).resume();
2020-01-25T04:11:10.4646789Z    |
2020-01-25T04:11:10.4646789Z    |
2020-01-25T04:11:10.4646929Z help: expected the unit value `()`; create it with empty parentheses
[Truncated]
2020-01-25T04:11:11.2313975Z ##[section]Finishing: Run build
2020-01-25T04:11:11.2335413Z ##[section]Starting: Checkout rust-lang/rust@refs/pull/68524/merge to s
2020-01-25T04:11:11.2337389Z Task         : Get sources
2020-01-25T04:11:11.2337458Z Description  : Get sources from a repository. Supports Git, TfsVC, and SVN repositories.
2020-01-25T04:11:11.2337509Z Version      : 1.0.0
2020-01-25T04:11:11.2337555Z Author       : Microsoft
2020-01-25T04:11:11.2337555Z Author       : Microsoft
2020-01-25T04:11:11.2337622Z Help         : [More Information](https://go.microsoft.com/fwlink/?LinkId=798199)
2020-01-25T04:11:11.2337677Z ==============================================================================
2020-01-25T04:11:11.6412488Z Cleaning any cached credential from repository: rust-lang/rust (GitHub)
2020-01-25T04:11:11.6454111Z ##[section]Finishing: Checkout rust-lang/rust@refs/pull/68524/merge to s
2020-01-25T04:11:11.6579020Z Cleaning up task key
2020-01-25T04:11:11.6579856Z Start cleaning up orphan processes.
2020-01-25T04:11:11.6683579Z Terminate orphan process: pid (3902) (python)
2020-01-25T04:11:11.7029714Z ##[section]Finishing: Finalize Job
```

</details><p></p>

[I'm a bot](https://github.com/rust-ops/rust-log-analyzer)! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact **`@TimNN`**. ([Feature Requests](https://github.com/rust-ops/rust-log-analyzer/issues?q=is%3Aopen+is%3Aissue+label%3Afeature-request))
<issue_comment>username_3: I think I'd prefer to make this PR make the argument be a type parameter instead of a associated type before landing to avoid some unnecessary churn in the compiler and for users of generators.

I also don't know how correct this is with regards to drops and references, but those concerns could be delayed by just adding a `'static + Copy` bound to the generator argument in typeck. That would be good enough for async/await.
<issue_comment>username_4: I think an assocated type makes more sense, as it is very unlikely to ever be overloaded for different resume types.
<issue_comment>username_5: Async generators (should) implement `for<'a, 'b> Geneator<&'a Context<'b>, Yield = ()>`, which needs a type parameter.
<issue_comment>username_1: The job `x86_64-gnu-llvm-7` of your PR [failed](https://dev.azure.com/rust-lang/rust/_build/results?buildId=19345&view=logs&jobId=0230d20d-e0df-5b62-a6ec-fad0f9c3c3d5) ([pretty log](https://rust-lang.github.io/rust-log-analyzer/log-viewer/#https://dev.azure.com/rust-lang/e71b0ddf-dd27-435a-873c-e30f86eea377/_apis/build/builds/19345/logs/70), [raw log](https://dev.azure.com/rust-lang/e71b0ddf-dd27-435a-873c-e30f86eea377/_apis/build/builds/19345/logs/70)). Through arcane magic we have determined that the following fragments from the build log may contain information about the problem.

<details><summary><i>Click to expand the log.</i></summary>

```plain
2020-01-25T15:05:23.6556918Z ========================== Starting Command Output ===========================
2020-01-25T15:05:23.657