fork/rust

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

borsAuto merge of #66089 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4560ea788cb

1.39.0
579 B18 linesraw
1error[E0458]: unknown kind: `wonderful_unicorn`
2  --> $DIR/E0458.rs:1:8
3   |
4LL | #[link(kind = "wonderful_unicorn")] extern {}
5   | -------^^^^^^^^^^^^^^^^^^^^^^^^^^--
6   |        |
7   |        unknown kind
8
9error[E0459]: `#[link(...)]` specified without `name = "foo"`
10  --> $DIR/E0458.rs:1:1
11   |
12LL | #[link(kind = "wonderful_unicorn")] extern {}
13   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `name` argument
14
15error: aborting due to 2 previous errors
16
17Some errors have detailed explanations: E0458, E0459.
18For more information about an error, try `rustc --explain E0458`.