mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-17 19:14:16 +00:00
13 lines
218 B
Plaintext
13 lines
218 B
Plaintext
error: extern blocks must be unsafe
|
|
--> $DIR/extern-items.rs:7:1
|
|
|
|
|
LL | / extern "C" {
|
|
LL | |
|
|
LL | | static TEST1: i32;
|
|
LL | | fn test1(i: i32);
|
|
LL | | }
|
|
| |_^
|
|
|
|
error: aborting due to 1 previous error
|
|
|