File tree Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -56,6 +56,20 @@ you want. Example:
5656```
5757"## ,
5858
59+ E0463 : r##"
60+ A plugin/crate was declared but cannot be found. Erroneous code example:
61+
62+ ```
63+ #![feature(plugin)]
64+ #![plugin(cookie_monster)] // error: can't find crate for `cookie_monster`
65+ extern crate cake_is_a_lie; // error: can't find crate for `cake_is_a_lie`
66+ ```
67+
68+ You need to link your code to the relevant crate in order to be able to use it
69+ (through Cargo or the `-L` option of rustc example). Plugins are crates as
70+ well, and you link to them the same way.
71+ "## ,
72+
5973}
6074
6175register_diagnostics ! {
@@ -66,7 +80,6 @@ register_diagnostics! {
6680 E0460 , // found possibly newer version of crate `..`
6781 E0461 , // couldn't find crate `..` with expected target triple ..
6882 E0462 , // found staticlib `..` instead of rlib or dylib
69- E0463 , // can't find crate for `..`
7083 E0464 , // multiple matching crates for `..`
7184 E0465 , // multiple .. candidates for `..` found
7285 E0466 , // bad macro import
You can’t perform that action at this time.
0 commit comments