diff options
| author | Camille GILLOT <gillot.camille@gmail.com> | 2022-10-26 17:04:20 +0000 |
|---|---|---|
| committer | Camille GILLOT <gillot.camille@gmail.com> | 2022-11-12 10:03:13 +0000 |
| commit | da9dca704003df6fcc85a535aa578b42b13de590 (patch) | |
| tree | 116780254b7c03b367c6ef900a69cb23c3ff9d09 /compiler/rustc_error_codes/src | |
| parent | 9e9f5b15f5c964b2140560f164da0bcea347b7ad (diff) | |
| download | rust-da9dca704003df6fcc85a535aa578b42b13de590.tar.gz rust-da9dca704003df6fcc85a535aa578b42b13de590.zip | |
Retire error code.
Diffstat (limited to 'compiler/rustc_error_codes/src')
| -rw-r--r-- | compiler/rustc_error_codes/src/error_codes/E0760.md | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/compiler/rustc_error_codes/src/error_codes/E0760.md b/compiler/rustc_error_codes/src/error_codes/E0760.md index e1dcfefebcd..85e5faada22 100644 --- a/compiler/rustc_error_codes/src/error_codes/E0760.md +++ b/compiler/rustc_error_codes/src/error_codes/E0760.md @@ -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 or `Self` that references lifetimes from a parent scope. Erroneous code example: -```compile_fail,E0760,edition2018 +```compile_fail,edition2018 struct S<'a>(&'a i32); impl<'a> S<'a> { |
