diff options
| author | Smitty <me@smitop.com> | 2021-06-15 19:16:10 -0400 |
|---|---|---|
| committer | Smitty <me@smitop.com> | 2021-06-15 19:16:10 -0400 |
| commit | 4fe4ff95f6c459d98c2449c9993e0f7e0b8c47d3 (patch) | |
| tree | 50d71e1f2f95ac40297f3a0c4d0563cc0cfdb4e1 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs | |
| parent | 60f1a2fc4b535ead9c85ce085fdce49b1b097531 (diff) | |
| download | rust-4fe4ff95f6c459d98c2449c9993e0f7e0b8c47d3.tar.gz rust-4fe4ff95f6c459d98c2449c9993e0f7e0b8c47d3.zip | |
Use better error message for hard errors in CTFE
Currently the same message is used for hard errors and soft errors. This makes hard errors use a message that indicates the reality of the situation correctly, since usage of the constant is never allowed when there was a hard error evaluating it.
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions
