]> git.lizzy.rs Git - rust.git/blob - tests/compile-fail/data_race/dealloc_read_race2.stderr
Add a custom ui test runner and move all tests to it
[rust.git] / tests / compile-fail / data_race / dealloc_read_race2.stderr
1 warning: thread support is experimental and incomplete: weak memory effects are not emulated.
2
3 error: Undefined Behavior: pointer to ALLOC was dereferenced after this allocation got freed
4   --> $DIR/dealloc_read_race2.rs:LL:CC
5    |
6 LL |             *ptr.0
7    |             ^^^^^^ pointer to ALLOC was dereferenced after this allocation got freed
8    |
9    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
10    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
11            
12    = note: inside closure at $DIR/dealloc_read_race2.rs:LL:CC
13
14 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
15
16 error: aborting due to previous error; 1 warning emitted
17