check for correct trait in size_and_align_of

This commit is contained in:
Ralf Jung 2024-06-11 07:47:58 +02:00
parent af4d6c74ef
commit d041b7cf30
4 changed files with 10 additions and 7 deletions

View file

@ -1,5 +1,5 @@
// Validation stops this too early.
//@compile-flags: -Zmiri-disable-validation
// Validation and SB stop this too early.
//@compile-flags: -Zmiri-disable-validation -Zmiri-disable-stacked-borrows
trait T1 {
#[allow(dead_code)]