about summary refs log tree commit diff
path: root/compiler/rustc_error_codes/src
diff options
context:
space:
mode:
authorCamille GILLOT <gillot.camille@gmail.com>2023-06-07 17:43:17 +0000
committerCamille GILLOT <gillot.camille@gmail.com>2023-09-23 13:47:30 +0000
commitbaa64b0e77007a31ce0cfaada5300b536f951d2f (patch)
treee7f78d33a84636a5cf31b79c2f30bd587c6d0c2a /compiler/rustc_error_codes/src
parent6aa1268900506d5004c681e07b868db0cfc683fe (diff)
downloadrust-baa64b0e77007a31ce0cfaada5300b536f951d2f.tar.gz
rust-baa64b0e77007a31ce0cfaada5300b536f951d2f.zip
Remove dead error code.
Diffstat (limited to 'compiler/rustc_error_codes/src')
-rw-r--r--compiler/rustc_error_codes/src/error_codes/E0698.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/compiler/rustc_error_codes/src/error_codes/E0698.md b/compiler/rustc_error_codes/src/error_codes/E0698.md
index 3ba992a8476..9bc652e642f 100644
--- a/compiler/rustc_error_codes/src/error_codes/E0698.md
+++ b/compiler/rustc_error_codes/src/error_codes/E0698.md
@@ -1,9 +1,11 @@
+#### Note: this error code is no longer emitted by the compiler.
+
 When using generators (or async) all type variables must be bound so a
 generator can be constructed.
 
 Erroneous code example:
 
-```edition2018,compile_fail,E0698
+```edition2018,compile_fail,E0282
 async fn bar<T>() -> () {}
 
 async fn foo() {