Skip to content

Commit

Permalink
Merge pull request #250 from rust-osdev/const_fn_trait_bound
Browse files Browse the repository at this point in the history
Use new `const_fn_trait_bound` feature to fix build on latest nightly
  • Loading branch information
phil-opp authored May 6, 2021
2 parents ed1fc0c + ed3976c commit c9e1960
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
//! and access to various system registers.
#![cfg_attr(not(test), no_std)]
#![cfg_attr(feature = "const_fn", feature(const_fn))] // Needed for generic access to associated consts
#![cfg_attr(feature = "const_fn", feature(const_panic))]
#![cfg_attr(feature = "const_fn", feature(const_mut_refs))]
#![cfg_attr(feature = "const_fn", feature(const_fn_fn_ptr_basics))]
#![cfg_attr(feature = "const_fn", feature(const_fn_trait_bound))]
#![cfg_attr(feature = "inline_asm", feature(asm))]
#![cfg_attr(feature = "abi_x86_interrupt", feature(abi_x86_interrupt))]
#![warn(missing_docs)]
Expand Down

0 comments on commit c9e1960

Please sign in to comment.