]> git.lizzy.rs Git - rust.git/blobdiff - tests/fail/weak_memory/racing_mixed_size_read.stderr
get rid of some uses of core_intrinsics
[rust.git] / tests / fail / weak_memory / racing_mixed_size_read.stderr
index 6de185161084bfa439cd6290b1ae5af01c67ee53..8dbf9e6948bd7975a7a0ca4a153e3b7a305abe9d 100644 (file)
@@ -1,11 +1,11 @@
 error: unsupported operation: racy imperfectly overlapping atomic access is not possible in the C++20 memory model, and not supported by Miri's weak memory emulation
   --> $DIR/racing_mixed_size_read.rs:LL:CC
    |
-LL |             std::intrinsics::atomic_load_relaxed(hi);
-   |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ racy imperfectly overlapping atomic access is not possible in the C++20 memory model, and not supported by Miri's weak memory emulation
+LL |             (*hi).load(Relaxed);
+   |             ^^^^^^^^^^^^^^^^^^^ racy imperfectly overlapping atomic access is not possible in the C++20 memory model, and not supported by Miri's weak memory emulation
    |
    = help: this is likely not a bug in the program; it indicates that the program performed an operation that the interpreter does not support
-           
+   = note: backtrace:
    = note: inside closure at $DIR/racing_mixed_size_read.rs:LL:CC
 
 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace