mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 23:04:33 +00:00
bless miri test
This commit is contained in:
parent
d456814842
commit
e9566ce9e9
@ -4,7 +4,9 @@
|
|||||||
|
|
||||||
//@normalize-stderr-test: "using [A-Za-z]+ heap deallocation operation" -> "using PLATFORM heap deallocation operation"
|
//@normalize-stderr-test: "using [A-Za-z]+ heap deallocation operation" -> "using PLATFORM heap deallocation operation"
|
||||||
//@normalize-stderr-test: "\| +\^+" -> "| ^"
|
//@normalize-stderr-test: "\| +\^+" -> "| ^"
|
||||||
//@normalize-stderr-test: "libc::free\([^()]*\)|unsafe \{ HeapFree\([^}]*\};" -> "FREE();"
|
//@normalize-stderr-test: "unsafe \{ libc::free\([^()]*\) \}|unsafe \{ HeapFree\([^}]*\};" -> "FREE();"
|
||||||
|
//@normalize-stderr-test: "alloc::[A-Za-z]+::" -> "alloc::PLATFORM::"
|
||||||
|
//@normalize-stderr-test: "alloc/[A-Za-z]+.rs" -> "alloc/PLATFORM.rs"
|
||||||
|
|
||||||
#![feature(allocator_api, slice_ptr_get)]
|
#![feature(allocator_api, slice_ptr_get)]
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
error: Undefined Behavior: deallocating ALLOC, which is Rust heap memory, using PLATFORM heap deallocation operation
|
error: Undefined Behavior: deallocating ALLOC, which is Rust heap memory, using PLATFORM heap deallocation operation
|
||||||
--> RUSTLIB/std/src/sys/pal/PLATFORM/alloc.rs:LL:CC
|
--> RUSTLIB/std/src/sys/alloc/PLATFORM.rs:LL:CC
|
||||||
|
|
|
|
||||||
LL | FREE();
|
LL | FREE();
|
||||||
| ^ deallocating ALLOC, which is Rust heap memory, using PLATFORM heap deallocation operation
|
| ^ deallocating ALLOC, which is Rust heap memory, using PLATFORM heap deallocation operation
|
||||||
@ -7,7 +7,7 @@ LL | FREE();
|
|||||||
= help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
|
= help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
|
||||||
= help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
|
= help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
|
||||||
= note: BACKTRACE:
|
= note: BACKTRACE:
|
||||||
= note: inside `std::sys::pal::PLATFORM::alloc::<impl std::alloc::GlobalAlloc for std::alloc::System>::dealloc` at RUSTLIB/std/src/sys/pal/PLATFORM/alloc.rs:LL:CC
|
= note: inside `std::sys::alloc::PLATFORM::<impl std::alloc::GlobalAlloc for std::alloc::System>::dealloc` at RUSTLIB/std/src/sys/alloc/PLATFORM.rs:LL:CC
|
||||||
= note: inside `<std::alloc::System as std::alloc::Allocator>::deallocate` at RUSTLIB/std/src/alloc.rs:LL:CC
|
= note: inside `<std::alloc::System as std::alloc::Allocator>::deallocate` at RUSTLIB/std/src/alloc.rs:LL:CC
|
||||||
note: inside `main`
|
note: inside `main`
|
||||||
--> $DIR/global_system_mixup.rs:LL:CC
|
--> $DIR/global_system_mixup.rs:LL:CC
|
||||||
|
Loading…
Reference in New Issue
Block a user