-
-
Notifications
You must be signed in to change notification settings - Fork 95
impl From<string::ParseError> for Error does not compile #182
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
Comments
Hey, @dtolnay, thanks for a notice with this thing, I was wondering if it is a nightly or my own bug; for now I'm okay with failing nightly, so I'll leave it as is (let's leave the issue opened too in case if anyone will wonder about this). Do not hesitate to ask if you will need any help from my side on this! |
Seems to also happen when trying to compile Nushell 0.6.0. |
Upstream bug seems to be handled a bit slower than I expected, and since this issue is affecting downstream packages, I'm going to use the workaround suggested. Thanks once again, @dtolnay! |
Heads up that this impl fails to compile on the most recent nightly, currently rustc 1.41.0-nightly (797fd9262 2019-11-26).
heim/heim-common/src/errors.rs
Lines 117 to 121 in 47f0f57
When building without cap-lints=allow the error is:
With cap-lints it is:
Seems related to rust-lang/rust#66757; we'll see if this can get unbroken on the compiler's side. But in the meantime changing the impl to the following would work on any compiler:
The text was updated successfully, but these errors were encountered: