Skip to content

Commit c2ad723

Browse files
committed
Updated function to unsafe
1 parent 8e5b248 commit c2ad723

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/tools/miri/tests/fail/intrinsics/cttz_nonzero.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1+
12
#![feature(intrinsics)]
23

34
mod rusti {
45
#[rustc_intrinsic]
5-
pub fn cttz_nonzero<T>(x: T) -> u32;
6+
pub unsafe fn cttz_nonzero<T>(x: T) -> u32;
67
}
78

89
pub fn main() {

0 commit comments

Comments
 (0)