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

Build failure because of crossbeam-epoch const_fn_trait_bound #44

Closed
jonathanbelolo opened this issue Mar 22, 2022 · 1 comment
Closed

Comments

@jonathanbelolo
Copy link

Thx!

error[E0658]: trait bounds other than Sized on const fn parameters are unstable
--> /Users/jonathan/.cargo/registry/src/git.luolix.top-1ecc6299db9ec823/crossbeam-epoch-0.9.8/src/atomic.rs:314:6
|
314 | impl<T: ?Sized + Pointable> Atomic {
| ^
...
346 | pub const fn null() -> Atomic {
| -------------------------------- function declared as const here
|
= note: see issue #93706 rust-lang/rust#93706 for more information
= help: add #![feature(const_fn_trait_bound)] to the crate attributes to enable

I'm using this toolchain:

active toolchain

nightly-x86_64-apple-darwin (default)
rustc 1.61.0-nightly (3b348d932 2022-02-19)

@cmichi
Copy link
Contributor

cmichi commented Mar 22, 2022

This has been answered by another user here:

rustup default nightly, and then rerun. It's accessing nightly features. I can confirm that it builds using cargo 1.61.0-nightly (65c8266 2022-03-09) on linux.

I'm hence closing the issue, feel free to reopen if it's still an issue for you.

@cmichi cmichi closed this as completed Mar 22, 2022
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

No branches or pull requests

2 participants