Rollup merge of #74694 - GuillaumeGomez:cleanup-e0727, r=Dylan-DPC
Clean up E0727 explanation r? @Dylan-DPC
This commit is contained in:
commit
2406c932d7
1 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
||||||
A `yield` clause was used in an `async` context.
|
A `yield` clause was used in an `async` context.
|
||||||
|
|
||||||
Example of erroneous code:
|
Erroneous code example:
|
||||||
|
|
||||||
```compile_fail,E0727,edition2018
|
```compile_fail,E0727,edition2018
|
||||||
#![feature(generators)]
|
#![feature(generators)]
|
||||||
|
|
Loading…
Reference in a new issue