File tree 1 file changed +14
-1
lines changed
1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -56,6 +56,20 @@ you want. Example:
56
56
```
57
57
"## ,
58
58
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
+
59
73
}
60
74
61
75
register_diagnostics ! {
@@ -66,7 +80,6 @@ register_diagnostics! {
66
80
E0460 , // found possibly newer version of crate `..`
67
81
E0461 , // couldn't find crate `..` with expected target triple ..
68
82
E0462 , // found staticlib `..` instead of rlib or dylib
69
- E0463 , // can't find crate for `..`
70
83
E0464 , // multiple matching crates for `..`
71
84
E0465 , // multiple .. candidates for `..` found
72
85
E0466 , // bad macro import
You can’t perform that action at this time.
0 commit comments