-
Notifications
You must be signed in to change notification settings - Fork 12.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve error message for breaks in blocks
Before it was always stated that it was a "break outside of a loop" when you could very well be in a loop, but just in a block instead. Closes #3064
- Loading branch information
1 parent
0cc5e6c
commit 5fdbcc4
Showing
3 changed files
with
59 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5fdbcc4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
saw approval from brson
at alexcrichton@5fdbcc4
5fdbcc4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
merging alexcrichton/rust/no-xray = 5fdbcc4 into auto
5fdbcc4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
alexcrichton/rust/no-xray = 5fdbcc4 merged ok, testing candidate = 9a831566
5fdbcc4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
some tests failed:
failure: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-t/builds/1550
exception: http://buildbot.rust-lang.org/builders/auto-mac-32-opt/builds/2440
exception: http://buildbot.rust-lang.org/builders/auto-mac-32-nopt-t/builds/286
exception: http://buildbot.rust-lang.org/builders/auto-linux-32-opt/builds/2458
exception: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-t/builds/1550
exception: http://buildbot.rust-lang.org/builders/auto-linux-64-opt/builds/2459
exception: http://buildbot.rust-lang.org/builders/auto-win-32-opt/builds/2444
exception: http://buildbot.rust-lang.org/builders/auto-bsd-64-opt/builds/2222
5fdbcc4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
saw approval from brson
at alexcrichton@5fdbcc4
5fdbcc4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
merging alexcrichton/rust/no-xray = 5fdbcc4 into auto
5fdbcc4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
alexcrichton/rust/no-xray = 5fdbcc4 merged ok, testing candidate = 3b0d486
5fdbcc4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
all tests pass:
success: http://buildbot.rust-lang.org/builders/auto-mac-32-opt/builds/2442
success: http://buildbot.rust-lang.org/builders/auto-mac-32-nopt-c/builds/288
success: http://buildbot.rust-lang.org/builders/auto-mac-32-nopt-t/builds/288
success: http://buildbot.rust-lang.org/builders/auto-mac-64-opt/builds/2446
success: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-c/builds/1552
success: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-t/builds/1551
success: http://buildbot.rust-lang.org/builders/auto-linux-32-opt/builds/2460
success: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-c/builds/1552
success: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-t/builds/1552
success: http://buildbot.rust-lang.org/builders/auto-linux-64-opt/builds/2461
success: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-c/builds/1552
success: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-t/builds/1552
success: http://buildbot.rust-lang.org/builders/auto-linux-64-x-android/builds/1628
success: http://buildbot.rust-lang.org/builders/auto-win-32-opt/builds/2446
success: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-c/builds/1550
success: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-t/builds/1552
success: http://buildbot.rust-lang.org/builders/auto-bsd-64-opt/builds/2224
5fdbcc4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fast-forwarding master to auto = 3b0d486