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```
This commit is contained in:
Matthias Krüger 2022-08-18 05:10:42 +02:00 committed by GitHub
commit 85100dc08a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

Diff content is not available