error: generic parameters may not be used in const operations
--> src/sfmt.rs:39:39
|
39 | let y = _mm_srli_epi32(b, Self::SFMT_SR1);
| ^^^^^^^^^^^^^^ cannot perform const operation using `Self`
|
= note: type parameters may not be used in const expressions
Rust 1.54.0 causes compiler error likes:
I guess it is due to rust-lang/rust#83167