diff options
| author | Dylan MacKenzie <ecstaticmorse@gmail.com> | 2020-10-03 14:38:01 -0700 |
|---|---|---|
| committer | Dylan MacKenzie <ecstaticmorse@gmail.com> | 2020-10-03 14:38:01 -0700 |
| commit | 98a2292919147d775ec196f42fe821b600180019 (patch) | |
| tree | ba687c1515ddd64c9c78e9c3fe6246ab0a7fee0f /src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs | |
| parent | 8876ffc9235dade728e1fbc4be4c85415fdd0bcd (diff) | |
| download | rust-98a2292919147d775ec196f42fe821b600180019.tar.gz rust-98a2292919147d775ec196f42fe821b600180019.zip | |
Allow `Abort` terminators in a const-context
These appear along the cleanup path inside functions with `#[unwind(aborts)]`. We don't const-check the cleanup path anyways, since const-eval already has "abort-on-panic" semantics and there's often drops that would otherwise be forbidden, so the check wasn't really preventing anything anyways.
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs')
0 files changed, 0 insertions, 0 deletions
