mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 02:33:55 +00:00
8 lines
192 B
Rust
8 lines
192 B
Rust
//@ 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`
|
|
}
|