File tree 2 files changed +17
-4
lines changed
2 files changed +17
-4
lines changed Original file line number Diff line number Diff line change @@ -2323,9 +2323,9 @@ register_diagnostics! {
2323
2323
E0285 , // overflow evaluation builtin bounds
2324
2324
E0298 , // mismatched types between arms
2325
2325
E0299 , // mismatched types between arms
2326
- E0300 , // unexpanded macro
2327
- E0304 , // expected signed integer constant
2328
- E0305 , // expected constant
2326
+ // E0300, // unexpanded macro
2327
+ // E0304, // expected signed integer constant
2328
+ // E0305, // expected constant
2329
2329
E0311 , // thing may not live long enough
2330
2330
E0312 , // lifetime of reference outlives lifetime of borrowed content
2331
2331
E0313 , // lifetime of borrowed pointer outlives lifetime of captured variable
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