Skip to content
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

Never error #1492

Merged
merged 2 commits into from
Apr 16, 2019
Merged

Never error #1492

merged 2 commits into from
Apr 16, 2019

Conversation

Nemo157
Copy link
Member

@Nemo157 Nemo157 commented Mar 24, 2019

Fixes #1399

@PvdBerg1998 I went with the name never_error for consistency with the "never type", alternate opinions welcome.

This does introduce another unstable feature, but one that will hopefully be stabilized soon.

@cramertj
Copy link
Member

I'd be happy to merge this once it's updated.

@Nemo157 Nemo157 force-pushed the never-error branch 3 times, most recently from e55aad9 to 32303d5 Compare April 15, 2019 18:18
@cramertj cramertj merged commit 03fb434 into rust-lang:master Apr 16, 2019
@Nemo157 Nemo157 deleted the never-error branch April 17, 2019 08:07
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.

Add .uninhabited_error() next to .unit_error()
2 participants