Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 149b73e

Browse files
committedFeb 12, 2024
fix x86 test
1 parent 5660300 commit 149b73e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed
 

Diff for: ‎tests/ui/atomic-from-mut-not-available.stderr

+4
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ LL | core::sync::atomic::AtomicU64::from_mut(&mut 0u64);
77
note: if you're trying to build a new `AtomicU64`, consider using `AtomicU64::new` which returns `AtomicU64`
88
--> $SRC_DIR/core/src/sync/atomic.rs:LL:COL
99
= note: this error originates in the macro `atomic_int` (in Nightly builds, run with -Z macro-backtrace for more info)
10+
help: there is an associated function with a similar name
11+
|
12+
LL | core::sync::atomic::AtomicU64::from(&mut 0u64);
13+
| ~~~~
1014

1115
error: aborting due to 1 previous error
1216

0 commit comments

Comments
 (0)
Please sign in to comment.