Skip to content

Commit c9e1960

Browse files
authored
Merge pull request #250 from rust-osdev/const_fn_trait_bound
Use new `const_fn_trait_bound` feature to fix build on latest nightly
2 parents ed1fc0c + ed3976c commit c9e1960

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
//! and access to various system registers.
33
44
#![cfg_attr(not(test), no_std)]
5-
#![cfg_attr(feature = "const_fn", feature(const_fn))] // Needed for generic access to associated consts
65
#![cfg_attr(feature = "const_fn", feature(const_panic))]
76
#![cfg_attr(feature = "const_fn", feature(const_mut_refs))]
87
#![cfg_attr(feature = "const_fn", feature(const_fn_fn_ptr_basics))]
8+
#![cfg_attr(feature = "const_fn", feature(const_fn_trait_bound))]
99
#![cfg_attr(feature = "inline_asm", feature(asm))]
1010
#![cfg_attr(feature = "abi_x86_interrupt", feature(abi_x86_interrupt))]
1111
#![warn(missing_docs)]

0 commit comments

Comments
 (0)