blob: b42677d52cbb5effe6a9ece074eaa302f50aecd9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
Invalid ABI (Application Binary Interface) used in the code.
Erroneous code example:
```compile_fail,E0703
extern "invalid" fn foo() {} // error!
# fn main() {}
```
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!
# fn main() { }
```
|