]> git.lizzy.rs Git - rust.git/blob - src/test/ui/atomic-from-mut-not-available.rs
Merge commit '0cce3f643bfcbb92d5a1bb71858c9cbaff749d6b' into clippyup
[rust.git] / src / test / ui / atomic-from-mut-not-available.rs
1 // only-x86
2 // only-linux
3
4 fn main() {
5     core::sync::atomic::AtomicU64::from_mut(&mut 0u64);
6     //~^ ERROR: no function or associated item named `from_mut` found for struct `AtomicU64`
7 }