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