about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs
diff options
context:
space:
mode:
authorDylan MacKenzie <ecstaticmorse@gmail.com>2020-10-03 14:38:01 -0700
committerDylan MacKenzie <ecstaticmorse@gmail.com>2020-10-03 14:38:01 -0700
commit98a2292919147d775ec196f42fe821b600180019 (patch)
treeba687c1515ddd64c9c78e9c3fe6246ab0a7fee0f /src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs
parent8876ffc9235dade728e1fbc4be4c85415fdd0bcd (diff)
downloadrust-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