]> git.proxmox.com Git - rustc.git/blame - src/librustc_error_codes/error_codes/E0463.md
New upstream version 1.42.0+dfsg0+pve1
[rustc.git] / src / librustc_error_codes / error_codes / E0463.md
CommitLineData
d9bb1a4e
FG
1A 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`
6extern crate cake_is_a_lie; // error: can't find crate for `cake_is_a_lie`
7```
8
9You 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
11well, and you link to them the same way.