]> git.lizzy.rs Git - rust.git/blob - tests/ui/atomic-from-mut-not-available.rs
Rollup merge of #103702 - WaffleLapkin:lift-sized-bounds-from-pointer-methods-where...
[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 }