2022-03-14 10:28:34 +00:00
|
|
|
error[E0458]: unknown link kind `wonderful_unicorn`, expected one of: static, dylib, framework, raw-dylib
|
|
|
|
--> $DIR/E0458.rs:1:15
|
2018-02-08 03:35:35 +00:00
|
|
|
|
|
2020-09-01 21:12:52 +00:00
|
|
|
LL | #[link(kind = "wonderful_unicorn")] extern "C" {}
|
2022-03-14 10:28:34 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^ unknown link kind
|
2018-02-08 03:35:35 +00:00
|
|
|
|
2022-03-14 10:28:34 +00:00
|
|
|
error[E0459]: `#[link]` attribute requires a `name = "string"` argument
|
2018-12-25 15:56:47 +00:00
|
|
|
--> $DIR/E0458.rs:1:1
|
2018-02-08 03:35:35 +00:00
|
|
|
|
|
2020-09-01 21:12:52 +00:00
|
|
|
LL | #[link(kind = "wonderful_unicorn")] extern "C" {}
|
2018-02-08 03:35:35 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `name` argument
|
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
|
2019-04-17 17:26:38 +00:00
|
|
|
Some errors have detailed explanations: E0458, E0459.
|
2018-03-03 14:59:40 +00:00
|
|
|
For more information about an error, try `rustc --explain E0458`.
|