You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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 enableHow should I solve this? I have a SIMD implementation depends on nightly rust.
Thanks,
Jianshu
The text was updated successfully, but these errors were encountered: