]> git.lizzy.rs Git - rust.git/blob - tests/ui/atomic-from-mut-not-available.rs
Rollup merge of #107194 - xfix:remove-slice-internals-dependency-in-rustc-ast, r...
[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 }