Skip to content

Commit 28fe986

Browse files
committed
fix suggested changes
1 parent e5f4dad commit 28fe986

File tree

1 file changed

+6
-5
lines changed
  • src/librustc_error_codes/error_codes

1 file changed

+6
-5
lines changed
Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,19 @@
1-
Invalid ABI(Application Binary Interface) used in the code.
1+
Invalid ABI (Application Binary Interface) used in the code.
22

33
Erroneous code example:
44

55
```compile_fail,E0703
6-
extern "invalid" fn foo() {} //~ ERROR
6+
extern "invalid" fn foo() {} // error!
77
8-
fn main() { }
8+
# fn main() {}
99
```
10+
1011
At present there the few predefined ABI's (like Rust, C, system, etc.)
1112
which we can use in our Rust code. Please verify the ABI from the
1213
given ABI. For example you can replace the given ABI from 'Rust'.
1314

1415
```
15-
extern "Rust" fn foo() {} //~ OK!
16+
extern "Rust" fn foo() {} // ok!
1617
17-
fn main() { }
18+
# fn main() { }
1819
```

0 commit comments

Comments
 (0)