Error code E0092

An undefined atomic operation function was declared.

Erroneous code example:

#![allow(unused)]
#![feature(intrinsics)]

fn main() {
extern "rust-intrinsic" {
    fn atomic_foo(); // error: unrecognized atomic operation
                     //        function
}
}

Please check you didn't make a mistake in the function's name. All intrinsic functions are defined in compiler/rustc_codegen_llvm/src/intrinsic.rs and in library/core/src/intrinsics.rs in the Rust source code. Example:

#![allow(unused)]
#![feature(intrinsics)]

fn main() {
extern "rust-intrinsic" {
    fn atomic_fence(); // ok!
}
}