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

Failure to compile with Rust 1.75 #202

Closed
akonradi-signal opened this issue Nov 4, 2024 · 2 comments · Fixed by #204
Closed

Failure to compile with Rust 1.75 #202

akonradi-signal opened this issue Nov 4, 2024 · 2 comments · Fixed by #204

Comments

@akonradi-signal
Copy link

When trying to use the new version with the Rust 1.75 compiler, I get the following error:

error[E0658]: use of unstable library feature 'error_in_core'
  --> arbitrary-1.4.0/src/lib.rs:52:6
   |
52 | impl core::error::Error for MaxRecursionReached {}

It looks like while std::error::Error has been around for a while, its presence in core is new as of Rust 1.81

@suikammd
Copy link

suikammd commented Nov 5, 2024

Same. Incompatible upgrade, should release major version.

@akonradi-signal
Copy link
Author

It seems like this was an oversight. Fixing as in #204 and releasing a 1.4.1 seems like the right way to move forward.

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 a pull request may close this issue.

3 participants
@suikammd @akonradi-signal and others