fix CTFE cycle
This commit is contained in:
parent
1cf47804df
commit
9ae3728e5e
1 changed files with 1 additions and 1 deletions
|
|
@ -84,7 +84,7 @@ pub trait Int:
|
|||
|
||||
macro_rules! int_impl_common {
|
||||
($ty:ty) => {
|
||||
const BITS: u32 = <Self>::BITS;
|
||||
const BITS: u32 = <Self as Int>::ZERO.count_zeros();
|
||||
const SIGNED: bool = Self::MIN != Self::ZERO;
|
||||
|
||||
const ZERO: Self = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue