about summary refs log tree commit diff
path: root/compiler/rustc_error_codes
diff options
context:
space:
mode:
authornils <48135649+Nilstrieb@users.noreply.github.com>2023-01-12 15:44:52 +0100
committerGitHub <noreply@github.com>2023-01-12 15:44:52 +0100
commitc61f29ca52e137e18a4b64e4388741cc2dc4f926 (patch)
tree40118455cccaa2819e8b2240c2203281d60011cf /compiler/rustc_error_codes
parent25fd6338280caf93b30f8f92f217c8e50a8c0766 (diff)
parent02005e9f22bf06e74c3ed6ce56be112d7366bd15 (diff)
downloadrust-c61f29ca52e137e18a4b64e4388741cc2dc4f926.tar.gz
rust-c61f29ca52e137e18a4b64e4388741cc2dc4f926.zip
Rollup merge of #106714 - Ezrashaw:remove-e0490, r=davidtwco
remove unreachable error code `E0490`

AFAIK, the untested and undocumented error code `E0490` is now unreachable, it was from the days of the original borrow checker.

cc ``@GuillaumeGomez`` #61137
Diffstat (limited to 'compiler/rustc_error_codes')
-rw-r--r--compiler/rustc_error_codes/src/error_codes.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_error_codes/src/error_codes.rs b/compiler/rustc_error_codes/src/error_codes.rs
index a132a8146e9..24258974bb9 100644
--- a/compiler/rustc_error_codes/src/error_codes.rs
+++ b/compiler/rustc_error_codes/src/error_codes.rs
@@ -618,7 +618,7 @@ E0791: include_str!("./error_codes/E0791.md"),
 //  E0487, // unsafe use of destructor: destructor might be called while...
 //  E0488, // lifetime of variable does not enclose its declaration
 //  E0489, // type/lifetime parameter not in scope here
-    E0490, // a value of type `..` is borrowed for too long
+//  E0490, // removed: unreachable
     E0523, // two dependencies have same (crate-name, disambiguator) but different SVH
 //  E0526, // shuffle indices are not constant
 //  E0540, // multiple rustc_deprecated attributes