Skip to content

Commit 2cdd83a

Browse files
committed
Bless miri tests
1 parent 1f9b9ce commit 2cdd83a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tools/miri/tests/fail/stacked_borrows/static_memory_modification.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ static X: usize = 5;
33
#[allow(mutable_transmutes)]
44
fn main() {
55
let _x = unsafe {
6-
std::mem::transmute::<&usize, &mut usize>(&X) //~ ERROR: writing to alloc1 which is read-only
6+
std::mem::transmute::<&usize, &mut usize>(&X) //~ ERROR: writing to alloc2 which is read-only
77
};
88
}

0 commit comments

Comments
 (0)