Remove dead error code.
This commit is contained in:
parent
6aa1268900
commit
baa64b0e77
3 changed files with 5 additions and 47 deletions
|
@ -1,9 +1,11 @@
|
|||
#### Note: this error code is no longer emitted by the compiler.
|
||||
|
||||
When using generators (or async) all type variables must be bound so a
|
||||
generator can be constructed.
|
||||
|
||||
Erroneous code example:
|
||||
|
||||
```edition2018,compile_fail,E0698
|
||||
```edition2018,compile_fail,E0282
|
||||
async fn bar<T>() -> () {}
|
||||
|
||||
async fn foo() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue