Skip to content

Commit 914e1d1

Browse files
committed
tock-registers: fix compiling with latest nightly.
At least since nightly (070e459c2 2021-05-11) the tock-registers crate fails to compile stating that `const_fn` 'feature has been removed'. This commit fixes this by specializing the feature to `const_fn_trait_bound`.
1 parent 221eadc commit 914e1d1

File tree

1 file changed

+1
-1
lines changed
  • libraries/tock-register-interface/src

1 file changed

+1
-1
lines changed

libraries/tock-register-interface/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
//!
33
//!
44
5-
#![feature(const_fn)]
5+
#![feature(const_fn_trait_bound)]
66
#![no_std]
77

88
pub mod macros;

0 commit comments

Comments
 (0)