]> git.proxmox.com Git - rustc.git/blame - src/librustc_error_codes/error_codes/E0463.md
New upstream version 1.44.1+dfsg1
[rustc.git] / src / librustc_error_codes / error_codes / E0463.md
CommitLineData
ba9703b0
XL
1A plugin/crate was declared but cannot be found.
2
3Erroneous code example:
60c5eb7d
XL
4
5```compile_fail,E0463
6#![feature(plugin)]
7#![plugin(cookie_monster)] // error: can't find crate for `cookie_monster`
8extern crate cake_is_a_lie; // error: can't find crate for `cake_is_a_lie`
9```
10
11You 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
13well, and you link to them the same way.