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
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
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.
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 enableI'm using this toolchain:
active toolchain
nightly-x86_64-apple-darwin (default)
rustc 1.61.0-nightly (3b348d932 2022-02-19)
The text was updated successfully, but these errors were encountered: