]>
Commit | Line | Data |
---|---|---|
ba9703b0 XL |
1 | A plugin/crate was declared but cannot be found. |
2 | ||
3 | Erroneous code example: | |
60c5eb7d XL |
4 | |
5 | ```compile_fail,E0463 | |
6 | #![feature(plugin)] | |
7 | #![plugin(cookie_monster)] // error: can't find crate for `cookie_monster` | |
8 | extern crate cake_is_a_lie; // error: can't find crate for `cake_is_a_lie` | |
9 | ``` | |
10 | ||
11 | You need to link your code to the relevant crate in order to be able to use it | |
12 | (through Cargo or the `-L` option of rustc example). Plugins are crates as | |
13 | well, and you link to them the same way. |