]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #98968 - RalfJung:scalar-sanity, r=oli-obk
authorDylan DPC <99973273+Dylan-DPC@users.noreply.github.com>
Wed, 6 Jul 2022 09:19:13 +0000 (14:49 +0530)
committerGitHub <noreply@github.com>
Wed, 6 Jul 2022 09:19:13 +0000 (14:49 +0530)
commit7f62a719afb3b7f1c0a4fed0c921e8b314636edb
tree200c65f59cb2b65a0029283110e1dd084e013bbb
parent41e30e3371bfc15dcdcb69dc7568e7573c80ae68
parent2a1a718baabcc1fac08ed9a6ac3e29d5b156c532
Rollup merge of #98968 - RalfJung:scalar-sanity, r=oli-obk

assert Scalar sanity

With https://github.com/rust-lang/rust/pull/96814 having landed, finally our `Scalar` layouts have the invariants they deserve. :)
compiler/rustc_middle/src/ty/layout.rs