Auto merge of #126556 - saethlin:layout-precondition, r=joboet

Add a precondition check for Layout::from_size_align_unchecked

Ran into this while looking into https://github.com/rust-lang/miri/issues/3679. This is of course not the cause of the ICE, but the reproducer doesn't encounter a precondition check and it ought to.
This commit is contained in:
bors 2024-08-21 12:50:05 +00:00
commit 3dfff01adc

Diff content is not available