File tree Expand file tree Collapse file tree 2 files changed +24
-2
lines changed
branches/tmp/src/librustc_resolve Expand file tree Collapse file tree 2 files changed +24
-2
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ refs/tags/0.11.0: e1247cb1d0d681be034adb4b558b5a0c0d5720f9
25
25
refs/tags/0.12.0: f0c419429ef30723ceaf6b42f9b5a2aeb5d2e2d1
26
26
refs/heads/beta: 2b45108ecb944d63daba0f1b5529ac4c8afdc295
27
27
refs/tags/1.0.0-alpha: e42bd6d93a1d3433c486200587f8f9e12590a4d7
28
- refs/heads/tmp: c8b9e8363a15c0476040869d2e6749018ae4a6b3
28
+ refs/heads/tmp: 40617b60cbbf78bb20ba662b192957b58d07dbba
29
29
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f
30
30
refs/tags/homu-tmp: e58601ab085591c71a27ae82137fc313222c2270
31
31
refs/tags/1.0.0-beta: 8cbb92b53468ee2b0c2d3eeb8567005953d40828
Original file line number Diff line number Diff line change @@ -457,6 +457,29 @@ impl Foo {
457
457
```
458
458
"## ,
459
459
460
+ E0425 : r##"
461
+ An unresolved name was used. Example of erroneous code:
462
+
463
+ ```
464
+ something_that_doesnt_exist::foo; // error: unresolved name `f::foo`
465
+ ```
466
+
467
+ Please verify you didn't misspell the name or that you're not using an
468
+ invalid object. Example:
469
+
470
+ ```
471
+ enum something_that_does_exist {
472
+ foo
473
+ }
474
+ // or:
475
+ mod something_that_does_exist {
476
+ pub static foo : i32 = 0i32;
477
+ }
478
+
479
+ something_that_does_exist::foo; // ok!
480
+ ```
481
+ "## ,
482
+
460
483
E0426 : r##"
461
484
An undeclared label was used. Example of erroneous code:
462
485
@@ -581,7 +604,6 @@ register_diagnostics! {
581
604
E0422 , // does not name a structure
582
605
E0423 , // is a struct variant name, but this expression uses it like a
583
606
// function name
584
- E0425 , // unresolved name
585
607
E0427 , // cannot use `ref` binding mode with ...
586
608
E0429 , // `self` imports are only allowed within a { } list
587
609
E0434 , // can't capture dynamic environment in a fn item
You can’t perform that action at this time.
0 commit comments