Skip to content

Commit 7002dce

Browse files
committed
Fix minicore test
1 parent 22e2307 commit 7002dce

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Diff for: 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)