File tree Expand file tree Collapse file tree 2 files changed +20
-2
lines changed
branches/try/src/librustc_resolve Expand file tree Collapse file tree 2 files changed +20
-2
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
refs/heads/master: aca2057ed5fb7af3f8905b2bc01f72fa001c35c8
3
3
refs/heads/snap-stage3: 1af31d4974e33027a68126fa5a5a3c2c6491824f
4
- refs/heads/try: 9e1ea5e5ee6369128e2a3005bb78edc059fa9195
4
+ refs/heads/try: c8b9e8363a15c0476040869d2e6749018ae4a6b3
5
5
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
6
6
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
7
7
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503
Original file line number Diff line number Diff line change @@ -457,6 +457,25 @@ impl Foo {
457
457
```
458
458
"## ,
459
459
460
+ E0426 : r##"
461
+ An undeclared label was used. Example of erroneous code:
462
+
463
+ ```
464
+ loop {
465
+ break 'a; // error: use of undeclared label `'a`
466
+ }
467
+ ```
468
+
469
+ Please verify you didn't misspell the label name or you did declare
470
+ it. Example:
471
+
472
+ ```
473
+ 'a: loop {
474
+ break 'a; // ok!
475
+ }
476
+ ```
477
+ "## ,
478
+
460
479
E0428 : r##"
461
480
A type or module has been defined more than once. Example of erroneous
462
481
code:
@@ -563,7 +582,6 @@ register_diagnostics! {
563
582
E0423 , // is a struct variant name, but this expression uses it like a
564
583
// function name
565
584
E0425 , // unresolved name
566
- E0426 , // use of undeclared label
567
585
E0427 , // cannot use `ref` binding mode with ...
568
586
E0429 , // `self` imports are only allowed within a { } list
569
587
E0434 , // can't capture dynamic environment in a fn item
You can’t perform that action at this time.
0 commit comments