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

Fix nightly for introduction of built-in never type #1228

Merged
merged 1 commit into from
Nov 28, 2019
Merged

Conversation

CodeSandwich
Copy link
Contributor

Previously nightly was failing due to ICE, now it's because the newly introduced never type does not allow conversions that we were relying on.

@CodeSandwich CodeSandwich added the bug Something isn't working label Nov 28, 2019
)
db.get_block(&self.hash)
.wait()
.unwrap_or_else(|e| match e {})
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To be replaced by .into_ok() when that is stabilized: rust-lang/rust#66045

@NicolasDP NicolasDP merged commit c577374 into master Nov 28, 2019
@NicolasDP NicolasDP deleted the fix_nightly branch November 28, 2019 09:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants