Skip to content

Commit 363984b

Browse files
committed
Fix lookup
1 parent e160d11 commit 363984b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/core/src/num/nonzero.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2403,7 +2403,7 @@ mod verify {
24032403

24042404
macro_rules! nonzero_check_from_mut_unchecked {
24052405
($t:ty, $nonzero_type:ty, $harness_name:ident) => {
2406-
#[kani::proof_for_contract(<T>::from_mut_unchecked)]
2406+
#[kani::proof_for_contract(NonZero::<$t>::from_mut_unchecked)]
24072407
pub fn $harness_name() {
24082408
let mut x: $t = kani::any();
24092409
unsafe {

0 commit comments

Comments
 (0)