]> git.lizzy.rs Git - rust.git/blob - tests/ui/atomic-from-mut-not-available.rs
Rollup merge of #106618 - jmillikin:os-net-rustdoc-wasm32, r=JohnTitor
[rust.git] / tests / 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 }