Remove dead error code.

This commit is contained in:
Camille GILLOT 2023-06-07 17:43:17 +00:00
parent 6aa1268900
commit baa64b0e77
3 changed files with 5 additions and 47 deletions

View file

@ -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() {