Skip to content

Commit 3ca59d2

Browse files
committed
make sure 2-phase borows work even with raw ptr tagging
1 parent edd4858 commit 3ca59d2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/run-pass/stacked-borrows/2phase.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// compile-flags: -Zmiri-tag-raw-pointers
12
#![allow(mutable_borrow_reservation_conflict)]
23

34
trait S: Sized {

0 commit comments

Comments
 (0)