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 9548c77

Browse files
committedJul 11, 2024
Fix minicore test
1 parent dd2bb01 commit 9548c77

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed
 

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

+3-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,9 @@ note: if you're trying to build a new `AtomicU64`, consider using `AtomicU64::ne
99
= note: this error originates in the macro `atomic_int` (in Nightly builds, run with -Z macro-backtrace for more info)
1010
help: there is an associated function `from` with a similar name
1111
|
12-
LL | core::sync::atomic::AtomicU64::from(&mut 0u64);
13-
| ~~~~
12+
LL - core::sync::atomic::AtomicU64::from_mut(&mut 0u64);
13+
LL + core::sync::atomic::AtomicU64::from(&mut 0u64);
14+
|
1415

1516
error: aborting due to 1 previous error
1617

0 commit comments

Comments
 (0)
Failed to load comments.