Skip to content

Commit

Permalink
make mutable_references_err not bitwidth-dependent
Browse files Browse the repository at this point in the history
  • Loading branch information
RalfJung committed Feb 29, 2024
1 parent 884850d commit 66268ec
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 361 deletions.
180 changes: 0 additions & 180 deletions tests/ui/consts/miri_unleashed/mutable_references_err.32bit.stderr

This file was deleted.

180 changes: 0 additions & 180 deletions tests/ui/consts/miri_unleashed/mutable_references_err.64bit.stderr

This file was deleted.

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

use std::cell::UnsafeCell;
Expand Down

0 comments on commit 66268ec

Please sign in to comment.