Skip to content

Replace unreachable() calls with unreachable!(). #9320

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

chris-morgan
Copy link
Member

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.

This is the second of two parts of rust-lang#8991, now possible as a new snapshot
has been made. (The first part implemented the unreachable!() macro; it
was rust-lang#8992, 6b7b8f2.)

``std::util::unreachable()`` is removed summarily; any code which used
it should now use the ``unreachable!()`` macro.

Closes rust-lang#9312.

Closes rust-lang#8991.
bors added a commit that referenced this pull request Sep 20, 2013
…-two-containing-the-destruction-of-the-unreachable-function, r=alexcrichton

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.
@bors bors closed this Sep 20, 2013
@bors bors merged commit e2807a4 into rust-lang:master Sep 20, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove util::unreachable Replace std::util::unreachable with a macro
3 participants