about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorDylan MacKenzie <ecstaticmorse@gmail.com>2019-10-30 08:28:11 -0700
committerDylan MacKenzie <ecstaticmorse@gmail.com>2019-10-30 08:28:36 -0700
commit627e3ef739dbead85aa04f32dc2d2a2ab7dd4637 (patch)
tree3f450a3edb1913a6000b88e0e55932290cb4a275 /src
parent122c6fedf4929c262e73158f156c2446c4b8bb84 (diff)
downloadrust-627e3ef739dbead85aa04f32dc2d2a2ab7dd4637.tar.gz
rust-627e3ef739dbead85aa04f32dc2d2a2ab7dd4637.zip
Remove references to now unused `E0526`
It remains as a comment in `error_codes.rs` for consistency with
other unused errors.
Diffstat (limited to 'src')
-rw-r--r--src/librustc_mir/error_codes.rs2
-rw-r--r--src/tools/tidy/src/error_codes_check.rs1
2 files changed, 1 insertions, 2 deletions
diff --git a/src/librustc_mir/error_codes.rs b/src/librustc_mir/error_codes.rs
index 419c905cb51..c119ca536fb 100644
--- a/src/librustc_mir/error_codes.rs
+++ b/src/librustc_mir/error_codes.rs
@@ -2545,7 +2545,7 @@ There are some known bugs that trigger this message.
 //  E0471, // constant evaluation error (in pattern)
 //  E0385, // {} in an aliasable location
     E0521, // borrowed data escapes outside of closure
-    E0526, // shuffle indices are not constant
+//  E0526, // shuffle indices are not constant
     E0594, // cannot assign to {}
 //  E0598, // lifetime of {} is too short to guarantee its contents can be...
     E0625, // thread-local statics cannot be accessed at compile-time
diff --git a/src/tools/tidy/src/error_codes_check.rs b/src/tools/tidy/src/error_codes_check.rs
index 159baff184d..bd58de81c77 100644
--- a/src/tools/tidy/src/error_codes_check.rs
+++ b/src/tools/tidy/src/error_codes_check.rs
@@ -40,7 +40,6 @@ const WHITELIST: &[&str] = &[
     "E0514",
     "E0519",
     "E0523",
-    "E0526",
     "E0554",
     "E0570",
     "E0629",