# Error code E0703

Invalid ABI (Application Binary Interface) used in the code.

Erroneous code example:

ⓘ

    extern "invalid" fn foo() {} // error!

Run

At present few predefined ABI’s (like Rust, C, system, etc.) can be used in Rust. Verify that the ABI is predefined. For example you can replace the given ABI from ‘Rust’.

    extern "Rust" fn foo() {} // ok!

Run

Back to list of error codes