fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
633 B16 linesraw
1error[E0458]: unknown link kind `wonderful_unicorn`, expected one of: static, dylib, framework, raw-dylib
2  --> $DIR/E0458.rs:1:15
3   |
4LL | #[link(kind = "wonderful_unicorn")] extern "C" {}
5   |               ^^^^^^^^^^^^^^^^^^^ unknown link kind
6
7error[E0459]: `#[link]` attribute requires a `name = "string"` argument
8  --> $DIR/E0458.rs:1:1
9   |
10LL | #[link(kind = "wonderful_unicorn")] extern "C" {}
11   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `name` argument
12
13error: aborting due to 2 previous errors
14
15Some errors have detailed explanations: E0458, E0459.
16For more information about an error, try `rustc --explain E0458`.