to_int
Scalar
Any use of it has been shown to be a bug in the past.
For more information about how rustc works, see the rustc dev guide.