We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents df916c9 + 33c2639 commit 38b8947Copy full SHA for 38b8947
coretests/tests/num/int_log.rs
@@ -34,6 +34,7 @@ fn checked_ilog() {
34
}
35
36
#[test]
37
+#[cfg_attr(miri, ignore)] // FIXME test is broken on Miri: https://github.com/rust-lang/rust/issues/137591
38
fn checked_ilog2() {
39
assert_eq!(5u32.checked_ilog2(), Some(2));
40
assert_eq!(0u64.checked_ilog2(), None);
0 commit comments