We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e9f5b1 commit da9dca7Copy full SHA for da9dca7
compiler/rustc_error_codes/src/error_codes/E0760.md
@@ -1,9 +1,11 @@
1
+#### Note: this error code is no longer emitted by the compiler.
2
+
3
`async fn`/`impl trait` return type cannot contain a projection
4
or `Self` that references lifetimes from a parent scope.
5
6
Erroneous code example:
7
-```compile_fail,E0760,edition2018
8
+```compile_fail,edition2018
9
struct S<'a>(&'a i32);
10
11
impl<'a> S<'a> {
0 commit comments