Update code to account for extern ABI requirement
This commit is contained in:
@@ -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() {}
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user