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 build #77

Merged
merged 1 commit into from
Dec 28, 2018
Merged

Fix nightly build #77

merged 1 commit into from
Dec 28, 2018

Conversation

jasonwhite
Copy link
Contributor

@jasonwhite jasonwhite commented Dec 28, 2018

std::io::Error hasn't implemented Error::source, so we can't use that yet. Adding #[allow(deprecated)] is a temporary fix until std::io::Error is updated.

The warning/error that is fixed:

warning: use of deprecated item 'std::error::Error::cause': replaced by Error::source, which can support downcasting
  --> src/error.rs:22:18
   |
22 |         self.err.cause()
   |                  ^^^^^
   |
   = note: #[warn(deprecated)] on by default

std::io::Error hasn't implemented `Error::source`, so we can't use that
yet.
@Stebalien Stebalien merged commit 3d7ca36 into Stebalien:master Dec 28, 2018
@jasonwhite jasonwhite deleted the jasonwhite/fix-nightly-build branch December 28, 2018 20:33
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.

None yet

2 participants