]> git.lizzy.rs Git - rust.git/commitdiff
Retire error code.
authorCamille GILLOT <gillot.camille@gmail.com>
Wed, 26 Oct 2022 17:04:20 +0000 (17:04 +0000)
committerCamille GILLOT <gillot.camille@gmail.com>
Sat, 12 Nov 2022 10:03:13 +0000 (10:03 +0000)
compiler/rustc_error_codes/src/error_codes/E0760.md

index e1dcfefebcd762187aba9a1d49a0b44154696787..85e5faada224e4269622c711e59a4ff836bbcf17 100644 (file)
@@ -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> {