]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0458.stderr
Rollup merge of #97915 - tbu-:pr_os_string_fmt_write, r=joshtriplett
[rust.git] / src / test / ui / error-codes / E0458.stderr
1 error[E0458]: unknown link kind `wonderful_unicorn`, expected one of: static, dylib, framework, raw-dylib
2   --> $DIR/E0458.rs:1:15
3    |
4 LL | #[link(kind = "wonderful_unicorn")] extern "C" {}
5    |               ^^^^^^^^^^^^^^^^^^^ unknown link kind
6
7 error[E0459]: `#[link]` attribute requires a `name = "string"` argument
8   --> $DIR/E0458.rs:1:1
9    |
10 LL | #[link(kind = "wonderful_unicorn")] extern "C" {}
11    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `name` argument
12
13 error: aborting due to 2 previous errors
14
15 Some errors have detailed explanations: E0458, E0459.
16 For more information about an error, try `rustc --explain E0458`.