]>
Commit | Line | Data |
---|---|---|
1b1a35ee XL |
1 | error[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 | | | |
4 | LL | core::sync::atomic::AtomicU64::from_mut(&mut 0u64); | |
5 | | ^^^^^^^^ function or associated item not found in `AtomicU64` | |
ed00b5ec FG |
6 | | |
7 | note: 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 | |
11 | error: aborting due to previous error | |
12 | ||
13 | For more information about this error, try `rustc --explain E0599`. |