We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e5f4dad commit 28fe986Copy full SHA for 28fe986
src/librustc_error_codes/error_codes/E0703.md
@@ -1,18 +1,19 @@
1
-Invalid ABI(Application Binary Interface) used in the code.
+Invalid ABI (Application Binary Interface) used in the code.
2
3
Erroneous code example:
4
5
```compile_fail,E0703
6
-extern "invalid" fn foo() {} //~ ERROR
+extern "invalid" fn foo() {} // error!
7
8
-fn main() { }
+# fn main() {}
9
```
10
+
11
At present there the few predefined ABI's (like Rust, C, system, etc.)
12
which we can use in our Rust code. Please verify the ABI from the
13
given ABI. For example you can replace the given ABI from 'Rust'.
14
15
-extern "Rust" fn foo() {} //~ OK!
16
+extern "Rust" fn foo() {} // ok!
17
18
+# fn main() { }
19
0 commit comments