Skip to content

Commit c093db3

Browse files
bors[bot]taiki-e
andauthored
Merge #692
692: Use feature(const_fn_trait_bound) instead of feature(const_fn) r=taiki-e a=taiki-e error[E0658]: trait bounds other than `Sized` on const fn parameters are unstable --> crossbeam-epoch/src/atomic.rs:313:6 | 313 | impl<T: ?Sized + Pointable> Atomic<T> { | ^ | = note: see issue #57563 <rust-lang/rust#57563> for more information = help: add `#![feature(const_fn_trait_bound)]` to the crate attributes to enable Co-authored-by: Taiki Endo <[email protected]>
2 parents d4f6785 + 584bb2e commit c093db3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crossbeam-epoch/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
)]
6464
#![cfg_attr(not(feature = "std"), no_std)]
6565
#![cfg_attr(feature = "nightly", feature(cfg_target_has_atomic))]
66-
#![cfg_attr(feature = "nightly", feature(const_fn))]
66+
#![cfg_attr(feature = "nightly", feature(const_fn_trait_bound))]
6767

6868
#[cfg(crossbeam_loom)]
6969
extern crate loom_crate as loom;

0 commit comments

Comments
 (0)