Skip to content

Commit 627e3ef

Browse files
Remove references to now unused E0526
It remains as a comment in `error_codes.rs` for consistency with other unused errors.
1 parent 122c6fe commit 627e3ef

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/librustc_mir/error_codes.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2545,7 +2545,7 @@ There are some known bugs that trigger this message.
25452545
// E0471, // constant evaluation error (in pattern)
25462546
// E0385, // {} in an aliasable location
25472547
E0521, // borrowed data escapes outside of closure
2548-
E0526, // shuffle indices are not constant
2548+
// E0526, // shuffle indices are not constant
25492549
E0594, // cannot assign to {}
25502550
// E0598, // lifetime of {} is too short to guarantee its contents can be...
25512551
E0625, // thread-local statics cannot be accessed at compile-time

src/tools/tidy/src/error_codes_check.rs

-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ const WHITELIST: &[&str] = &[
4040
"E0514",
4141
"E0519",
4242
"E0523",
43-
"E0526",
4443
"E0554",
4544
"E0570",
4645
"E0629",

0 commit comments

Comments
 (0)