diff options
| author | Dylan DPC <dylan.dpc@gmail.com> | 2020-11-09 01:13:25 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-11-09 01:13:25 +0100 |
| commit | d69ee57f977d03644acd8fbfd1799410e2c02db3 (patch) | |
| tree | 127bcfb0132eabba68e01335aaf1b2b30c43a689 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs | |
| parent | 1773f60ea5d42e86b8fdf78d2fc5221ead222bc1 (diff) | |
| parent | e750238404f59f3f6d94142f3e12ffc4c5c0b366 (diff) | |
| download | rust-d69ee57f977d03644acd8fbfd1799410e2c02db3.tar.gz rust-d69ee57f977d03644acd8fbfd1799410e2c02db3.zip | |
Rollup merge of #77640 - ethanboxx:int_error_matching_attempt_2, r=KodrAus
Refactor IntErrorKind to avoid "underflow" terminology This PR is a continuation of #76455 # Changes - `Overflow` renamed to `PosOverflow` and `Underflow` renamed to `NegOverflow` after discussion in #76455 - Changed some of the parsing code to return `InvalidDigit` rather than `Empty` for strings "+" and "-". https://users.rust-lang.org/t/misleading-error-in-str-parse-for-int-types/49178 - Carry the problem `char` with the `InvalidDigit` variant. - Necessary changes were made to the compiler as it depends on `int_error_matching`. - Redid tests to match on specific errors. r? ```@KodrAus```
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs')
0 files changed, 0 insertions, 0 deletions
