Skip to content

Commit aa8514d

Browse files
committed
check for correct trait in size_and_align_of
1 parent 9e58024 commit aa8514d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/fail/dyn-call-trait-mismatch.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// Validation stops this too early.
2-
//@compile-flags: -Zmiri-disable-validation
1+
// Validation and SB stop this too early.
2+
//@compile-flags: -Zmiri-disable-validation -Zmiri-disable-stacked-borrows
33

44
trait T1 {
55
#[allow(dead_code)]

0 commit comments

Comments
 (0)