Skip to content

Commit 2e419e4

Browse files
committed
Auto merge of #2080 - RalfJung:2phase, r=RalfJung
make sure 2-phase borows work even with raw ptr tagging
2 parents edd4858 + 3ca59d2 commit 2e419e4

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)