Skip to content

Commit 68a96a9

Browse files
committed
Declare #![feature(const_fn_trait_bound)]
Fixes compilation on recent nightly
1 parent 03c2aec commit 68a96a9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
#![feature(
1414
const_fn, // We rely on const eval :(
1515
const_panic, const_option, // We use Option::unwrap
16+
const_fn_trait_bound, // This is required on recent nightly
1617
const_fn_fn_ptr_basics, // We use PhantomData<fn() -> T>
1718
// Used for field_offset macro
1819
const_raw_ptr_deref,

0 commit comments

Comments
 (0)