about summary refs log tree commit diff
path: root/compiler/rustc_error_codes/src/error_codes/E0458.md
blob: 651bc378879615b41c52201d138d4fa62743ae87 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#### Note: this error code is no longer emitted by the compiler.

An unknown "kind" was specified for a link attribute.

Erroneous code example:

```ignore (no longer emitted)
#[link(kind = "wonderful_unicorn")] extern "C" {}
// error: unknown kind: `wonderful_unicorn`
```

Please specify a valid "kind" value, from one of the following:

* static
* dylib
* framework
* raw-dylib