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

nightly rust error #806

Closed
jianshu93 opened this issue Mar 20, 2022 · 1 comment
Closed

nightly rust error #806

jianshu93 opened this issue Mar 20, 2022 · 1 comment

Comments

@jianshu93
Copy link

jianshu93 commented Mar 20, 2022

Hello Team,
the newest nightly rust v1.61, I have the following error:

error[E0658]: trait bounds other than Sized on const fn parameters are unstable
--> /Users/jianshuzhao/.cargo/registry/src/github.com-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

How should I solve this? I have a SIMD implementation depends on nightly rust.

Thanks,

Jianshu

@taiki-e
Copy link
Member

taiki-e commented Mar 20, 2022

Duplicate of #803

@taiki-e taiki-e marked this as a duplicate of #803 Mar 20, 2022
@taiki-e taiki-e closed this as completed Mar 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants