]> git.proxmox.com Git - rustc.git/blame - tests/ui/atomic-from-mut-not-available.stderr
New upstream version 1.75.0+dfsg1
[rustc.git] / tests / ui / atomic-from-mut-not-available.stderr
CommitLineData
1b1a35ee
XL
1error[E0599]: no function or associated item named `from_mut` found for struct `AtomicU64` in the current scope
2 --> $DIR/atomic-from-mut-not-available.rs:5:36
3 |
4LL | core::sync::atomic::AtomicU64::from_mut(&mut 0u64);
5 | ^^^^^^^^ function or associated item not found in `AtomicU64`
ed00b5ec
FG
6 |
7note: if you're trying to build a new `AtomicU64`, consider using `AtomicU64::new` which returns `AtomicU64`
8 --> $SRC_DIR/core/src/sync/atomic.rs:LL:COL
9 = note: this error originates in the macro `atomic_int` (in Nightly builds, run with -Z macro-backtrace for more info)
1b1a35ee
XL
10
11error: aborting due to previous error
12
13For more information about this error, try `rustc --explain E0599`.