]> git.lizzy.rs Git - rust.git/blob - src/librustc_error_codes/error_codes/E0463.md
Rollup merge of #66576 - pnkfelix:more-robust-gdb-vec-printer, r=alexcrichton
[rust.git] / src / librustc_error_codes / error_codes / E0463.md
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.