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

Explicitly enable unstable library feature #4

Closed
wants to merge 1 commit into from
Closed

Explicitly enable unstable library feature #4

wants to merge 1 commit into from

Conversation

pefoley2
Copy link

rustc 1.23.0 currently bails with:

error: use of unstable library feature 'refcell_replace_swap' (see issue #43570)
--> src/signature.rs:466:31
|
466 | self.payload_hash.replace(Some([hash[0], hash[1]]));
| ^^^^^^^
|
= help: add #![feature(refcell_replace_swap)] to the crate attributes to enable

error: aborting due to previous error

error: Could not compile pretty-good.

rustc 1.23.0 currently bails with:

error: use of unstable library feature 'refcell_replace_swap' (see issue #43570)
   --> src/signature.rs:466:31
    |
466 |             self.payload_hash.replace(Some([hash[0], hash[1]]));
    |                               ^^^^^^^
    |
    = help: add #![feature(refcell_replace_swap)] to the crate attributes to enable

error: aborting due to previous error

error: Could not compile `pretty-good`.
@csssuf
Copy link
Owner

csssuf commented Apr 10, 2018

That feature was stabilized in rust-lang/rust#46517 (released in rustc 1.24.0), and I intend to keep this library targeting stable, so you'll just need to upgrade your Rust.

@csssuf csssuf closed this Apr 10, 2018
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.

2 participants