Skip to content

Commit

Permalink
Remove references to now unused E0526
Browse files Browse the repository at this point in the history
It remains as a comment in `error_codes.rs` for consistency with
other unused errors.
  • Loading branch information
ecstatic-morse committed Oct 30, 2019
1 parent 122c6fe commit 627e3ef
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/librustc_mir/error_codes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion src/tools/tidy/src/error_codes_check.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ const WHITELIST: &[&str] = &[
"E0514",
"E0519",
"E0523",
"E0526",
"E0554",
"E0570",
"E0629",
Expand Down

0 comments on commit 627e3ef

Please sign in to comment.