Skip to content

Commit da9dca7

Browse files
committed
Retire error code.
1 parent 9e9f5b1 commit da9dca7

File tree

1 file changed

+3
-1
lines changed
  • compiler/rustc_error_codes/src/error_codes

1 file changed

+3
-1
lines changed

compiler/rustc_error_codes/src/error_codes/E0760.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
1+
#### Note: this error code is no longer emitted by the compiler.
2+
13
`async fn`/`impl trait` return type cannot contain a projection
24
or `Self` that references lifetimes from a parent scope.
35

46
Erroneous code example:
57

6-
```compile_fail,E0760,edition2018
8+
```compile_fail,edition2018
79
struct S<'a>(&'a i32);
810
911
impl<'a> S<'a> {

0 commit comments

Comments
 (0)