Skip to content

Commit 6139f99

Browse files
committed
fix test
1 parent 04884bc commit 6139f99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ 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
10+
help: there is an associated function `from` with a similar name
1111
|
1212
LL | core::sync::atomic::AtomicU64::from(&mut 0u64);
1313
| ~~~~

0 commit comments

Comments
 (0)