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