mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-05 03:36:21 +00:00

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```
For more information about how rustc works, see the rustc dev guide.