]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0459.stderr
Auto merge of #97057 - bjorn3:sync_cg_clif-2022-05-15, r=bjorn3
[rust.git] / src / test / ui / error-codes / E0459.stderr
1 error[E0459]: `#[link]` attribute requires a `name = "string"` argument
2   --> $DIR/E0459.rs:1:1
3    |
4 LL | #[link(kind = "dylib")] extern "C" {}
5    | ^^^^^^^^^^^^^^^^^^^^^^^ missing `name` argument
6
7 error: aborting due to previous error
8
9 For more information about this error, try `rustc --explain E0459`.