From da9dca704003df6fcc85a535aa578b42b13de590 Mon Sep 17 00:00:00 2001 From: Camille GILLOT Date: Wed, 26 Oct 2022 17:04:20 +0000 Subject: [PATCH] Retire error code. --- compiler/rustc_error_codes/src/error_codes/E0760.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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> {