-
Notifications
You must be signed in to change notification settings - Fork 12.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace unreachable() calls with unreachable!().
This is the second of two parts of #8991, now possible as a new snapshot has been made. (The first part implemented the unreachable!() macro; it was #8992, 6b7b8f2.) ``std::util::unreachable()`` is removed summarily; any code which used it should now use the ``unreachable!()`` macro. Closes #9312. Closes #8991.
- Loading branch information
1 parent
4dacd73
commit e2807a4
Showing
16 changed files
with
28 additions
and
63 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
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
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
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
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
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
e2807a4
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 alexcrichton
at chris-morgan@e2807a4
e2807a4
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 chris-morgan/rust/unreachable-macro-part-two-of-two-containing-the-destruction-of-the-unreachable-function = e2807a4 into auto
e2807a4
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.
chris-morgan/rust/unreachable-macro-part-two-of-two-containing-the-destruction-of-the-unreachable-function = e2807a4 merged ok, testing candidate = 467f12f6
e2807a4
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-linux-32-opt/builds/1601
exception: http://buildbot.rust-lang.org/builders/auto-mac-32-opt/builds/1582
exception: http://buildbot.rust-lang.org/builders/auto-mac-64-opt/builds/1585
exception: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-c/builds/691
exception: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-t/builds/691
exception: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-c/builds/692
exception: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-t/builds/692
exception: http://buildbot.rust-lang.org/builders/auto-linux-64-opt/builds/1601
exception: http://buildbot.rust-lang.org/builders/auto-win-32-opt/builds/1586
exception: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-t/builds/692
exception: http://buildbot.rust-lang.org/builders/auto-bsd-64-opt/builds/1370
e2807a4
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 alexcrichton
at chris-morgan@e2807a4
e2807a4
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 chris-morgan/rust/unreachable-macro-part-two-of-two-containing-the-destruction-of-the-unreachable-function = e2807a4 into auto
e2807a4
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.
chris-morgan/rust/unreachable-macro-part-two-of-two-containing-the-destruction-of-the-unreachable-function = e2807a4 merged ok, testing candidate = e5fdc7d
e2807a4
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/1594
success: http://buildbot.rust-lang.org/builders/auto-mac-64-opt/builds/1597
success: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-c/builds/703
success: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-t/builds/703
success: http://buildbot.rust-lang.org/builders/auto-linux-32-opt/builds/1612
success: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-c/builds/703
success: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-t/builds/703
success: http://buildbot.rust-lang.org/builders/auto-linux-64-opt/builds/1612
success: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-c/builds/703
success: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-t/builds/704
success: http://buildbot.rust-lang.org/builders/auto-linux-64-x-android/builds/784
success: http://buildbot.rust-lang.org/builders/auto-win-32-opt/builds/1597
success: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-c/builds/703
success: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-t/builds/704
success: http://buildbot.rust-lang.org/builders/auto-bsd-64-opt/builds/1381
e2807a4
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 = e5fdc7d