We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e160d11 commit 363984bCopy full SHA for 363984b
library/core/src/num/nonzero.rs
@@ -2403,7 +2403,7 @@ mod verify {
2403
2404
macro_rules! nonzero_check_from_mut_unchecked {
2405
($t:ty, $nonzero_type:ty, $harness_name:ident) => {
2406
- #[kani::proof_for_contract(<T>::from_mut_unchecked)]
+ #[kani::proof_for_contract(NonZero::<$t>::from_mut_unchecked)]
2407
pub fn $harness_name() {
2408
let mut x: $t = kani::any();
2409
unsafe {
0 commit comments