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