summaryrefslogtreecommitdiffstats
path: root/tests/ui/atomic-from-mut-not-available.rs
blob: bf946160075704d38ca7a525602daef209bcca0a (plain)
1
2
3
4
5
6
7
// only-x86
// only-linux

fn main() {
    core::sync::atomic::AtomicU64::from_mut(&mut 0u64);
    //~^ ERROR: no function or associated item named `from_mut` found for struct `AtomicU64`
}