You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
helps.push((None,format!("see https://doc.rust-lang.org/nightly/std/sync/atomic/index.html#memory-model-for-atomic-accesses for more information about the Rust memory model")));
274
275
}
275
276
helps.push((None,format!("this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior")));
276
277
helps.push((None,format!("see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information")));
Copy file name to clipboardExpand all lines: src/tools/miri/tests/fail/data_race/mixed_size_read.stderr
+1
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,7 @@ help: and (1) occurred earlier here
10
10
LL | a16.load(Ordering::SeqCst);
11
11
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
12
12
= help: overlapping unsynchronized atomic accesses must use the same access size
13
+
= help: see https://doc.rust-lang.org/nightly/std/sync/atomic/index.html#memory-model-for-atomic-accesses for more information about the Rust memory model
13
14
= help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
14
15
= help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
Copy file name to clipboardExpand all lines: src/tools/miri/tests/fail/data_race/mixed_size_write.stderr
+1
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,7 @@ help: and (1) occurred earlier here
10
10
LL | a16.store(1, Ordering::SeqCst);
11
11
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
12
12
= help: overlapping unsynchronized atomic accesses must use the same access size
13
+
= help: see https://doc.rust-lang.org/nightly/std/sync/atomic/index.html#memory-model-for-atomic-accesses for more information about the Rust memory model
13
14
= help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
14
15
= help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
Copy file name to clipboardExpand all lines: src/tools/miri/tests/fail/data_race/read_read_race1.stderr
+1
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,7 @@ help: and (1) occurred earlier here
10
10
LL | unsafe { ptr.read() };
11
11
| ^^^^^^^^^^
12
12
= help: overlapping atomic and non-atomic accesses must be synchronized, even if both are read-only
13
+
= help: see https://doc.rust-lang.org/nightly/std/sync/atomic/index.html#memory-model-for-atomic-accesses for more information about the Rust memory model
13
14
= help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
14
15
= help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
0 commit comments