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:
authorbors <bors@rust-lang.org>2021-12-25 13:38:08 +0000
committerbors <bors@rust-lang.org>2021-12-25 13:38:08 +0000
commit547efad9454123b5d37e627eb8643666aa3ddf3b (patch)
tree684957a1be46a35444c82862538b88ef36805125 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs
parenteb24acf60d02ecc0d1f2ef8ff041f7b10429b545 (diff)
parent23ffa3ca0485bcdf1b0c553dbc134f33f16c7036 (diff)
downloadrust-547efad9454123b5d37e627eb8643666aa3ddf3b.tar.gz
rust-547efad9454123b5d37e627eb8643666aa3ddf3b.zip
Auto merge of #8167 - rust-lang:fix-8166, r=xFredNet
fix an ICE on unwrapping a None

This very likely fixes #8166 though I wasn't able to meaningfully reduce a test case. This line is the only call to `unwrap` within that function, which was the one in the stack trace that triggered the ICE, so I think we'll be OK.

`@hackmad` can you pull and build this branch and check if it indeed fixes your problem?

---

changelog: Fixed ICE in [`unnecessary_cast`]
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs')
0 files changed, 0 insertions, 0 deletions