Update code to account for extern ABI requirement
This commit is contained in:
parent
920b5ee722
commit
4614671cae
78 changed files with 155 additions and 166 deletions
|
@ -6,7 +6,7 @@ Erroneous code example:
|
|||
#![feature(unwind_attributes)]
|
||||
|
||||
#[unwind()] // error: expected one argument
|
||||
pub extern fn something() {}
|
||||
pub extern "C" fn something() {}
|
||||
|
||||
fn main() {}
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue