Skip to content

Commit a9596fb

Browse files
committed
make mutable_references_err not bitwidth-dependent
1 parent 3cc8c8d commit a9596fb

File tree

3 files changed

+2
-361
lines changed

3 files changed

+2
-361
lines changed

tests/ui/consts/miri_unleashed/mutable_references_err.32bit.stderr

-180
This file was deleted.

tests/ui/consts/miri_unleashed/mutable_references_err.64bit.stderr

-180
This file was deleted.

tests/ui/consts/miri_unleashed/mutable_references_err.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
//@ stderr-per-bitwidth
21
//@ compile-flags: -Zunleash-the-miri-inside-of-you
2+
//@ normalize-stderr-test "(the raw bytes of the constant) \(size: [0-9]*, align: [0-9]*\)" -> "$1 (size: $$SIZE, align: $$ALIGN)"
3+
//@ normalize-stderr-test "([0-9a-f][0-9a-f] |╾─*ALLOC[0-9]+(\+[a-z0-9]+)?(<imm>)?─*╼ )+ *│.*" -> "HEX_DUMP"
34
#![allow(invalid_reference_casting, static_mut_refs)]
45

56
use std::cell::UnsafeCell;

0 commit comments

Comments
 (0)