rust/tests/ui/abi/abi-typo-unstable.rs

7 lines
192 B
Rust

// rust-intrinsic is unstable and not enabled, so it should not be suggested as a fix
extern "rust-intrinsec" fn rust_intrinsic() {} //~ ERROR invalid ABI
fn main() {
rust_intrinsic();
}