Retire error code.
This commit is contained in:
@@ -1,9 +1,11 @@
|
|||||||
|
#### Note: this error code is no longer emitted by the compiler.
|
||||||
|
|
||||||
`async fn`/`impl trait` return type cannot contain a projection
|
`async fn`/`impl trait` return type cannot contain a projection
|
||||||
or `Self` that references lifetimes from a parent scope.
|
or `Self` that references lifetimes from a parent scope.
|
||||||
|
|
||||||
Erroneous code example:
|
Erroneous code example:
|
||||||
|
|
||||||
```compile_fail,E0760,edition2018
|
```compile_fail,edition2018
|
||||||
struct S<'a>(&'a i32);
|
struct S<'a>(&'a i32);
|
||||||
|
|
||||||
impl<'a> S<'a> {
|
impl<'a> S<'a> {
|
||||||
|
|||||||
Reference in New Issue
Block a user