mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-02 14:07:10 +00:00
- Add `:Sized` assertion in interpreter impl - Use `Scalar::from_bool` instead of `ScalarInt: From<bool>` - Remove unneeded comparison in intrinsic typeck - Make this UB to call with undef, not just return undef in that case
For high-level intro to how type checking works in rustc, see the type checking chapter of the rustc dev guide.