Skip to content

Commit

Permalink
make harness function name unique
Browse files Browse the repository at this point in the history
  • Loading branch information
QinyuanWu committed Sep 13, 2024
1 parent ceb381d commit 9f96cf5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/core/src/ptr/non_null.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1783,7 +1783,7 @@ mod verify {

// pub const unsafe fn new_unchecked(ptr: *mut T) -> Self
#[kani::proof_for_contract(NonNull::new_unchecked)]
pub fn check_new_unchecked() {
pub fn non_null_check_new_unchecked() {
let mut x : i32 = kani::any();
let xptr = &mut x;
unsafe {
Expand Down

0 comments on commit 9f96cf5

Please sign in to comment.