Skip to content

Commit b52df8d

Browse files
committed
added error handle for error code > 9999
1 parent 651e9cf commit b52df8d

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

compiler/rustc_errors/src/codes.rs

-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
use std::fmt;
88

99
rustc_index::newtype_index! {
10-
#[max = 9999] // Because all error codes have four digits.
1110
#[orderable]
1211
#[encodable]
1312
#[debug_format = "ErrCode({})"]

0 commit comments

Comments
 (0)