]> git.lizzy.rs Git - rust.git/blob - src/test/ui/atomic-from-mut-not-available.rs
Merge commit '39683d8eb7a32a74bea96ecbf1e87675d3338506' into sync_cg_gcc-2022-03-26
[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 }