about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-08-18 05:10:42 +0200
committerGitHub <noreply@github.com>2022-08-18 05:10:42 +0200
commit092f4600bb3c83e52db3c1a777afb26d0b84b80f (patch)
treee8517d1b54c89a7a749011d2347360c43e6af239 /src/test/codegen/src-hash-algorithm
parent370bf1543dc1033194403241fbb73d3b8c1d48b3 (diff)
parent848f301782f1dc2e40241e503711fd6e11aefebe (diff)
downloadrust-092f4600bb3c83e52db3c1a777afb26d0b84b80f.tar.gz
rust-092f4600bb3c83e52db3c1a777afb26d0b84b80f.zip
Rollup merge of #99966 - RalfJung:try-dont-panic, r=lcnr
avoid assertion failures in try_to_scalar_int

Given that this is called `try_to_scalar_int`, we probably shouldn't `assert_int` here. Similarly `try_to_bits` also doesn't `assert!` that the size is correct.

Also add some `track_caller` for debugging, while we are at it.

r? ```@oli-obk```
Diffstat (limited to 'src/test/codegen/src-hash-algorithm')
0 files changed, 0 insertions, 0 deletions