Skip to content

Commit 2d6cc2d

Browse files
fixed const_ptr
1 parent a18c494 commit 2d6cc2d

File tree

22 files changed

+22
-22
lines changed

22 files changed

+22
-22
lines changed

library/alloc/src/collections/vec_deque/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3086,7 +3086,7 @@ impl<T, const N: usize> From<[T; N]> for VecDeque<T> {
30863086
}
30873087
}
30883088

3089-
#[cfg(kani)]
3089+
#[cfg(kanix)]
30903090
#[unstable(feature = "kani", issue = "none")]
30913091
mod verify {
30923092
use core::kani;

library/core/src/alloc/layout.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -615,7 +615,7 @@ impl fmt::Display for LayoutError {
615615
}
616616
}
617617

618-
#[cfg(kani)]
618+
#[cfg(kanix)]
619619
#[unstable(feature = "kani", issue = "none")]
620620
mod verify {
621621
use super::*;

library/core/src/ascii/ascii_char.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -622,7 +622,7 @@ impl fmt::Debug for AsciiChar {
622622
}
623623
}
624624

625-
#[cfg(kani)]
625+
#[cfg(kanix)]
626626
#[unstable(feature = "kani", issue = "none")]
627627
mod verify {
628628
use AsciiChar;

library/core/src/char/convert.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ pub(super) const fn from_digit(num: u32, radix: u32) -> Option<char> {
297297
}
298298
}
299299

300-
#[cfg(kani)]
300+
#[cfg(kanix)]
301301
#[unstable(feature = "kani", issue = "none")]
302302
mod verify {
303303
use super::*;

library/core/src/char/methods.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1868,7 +1868,7 @@ pub const fn encode_utf16_raw(mut code: u32, dst: &mut [u16]) -> &mut [u16] {
18681868
unsafe { slice::from_raw_parts_mut(dst.as_mut_ptr(), len) }
18691869
}
18701870

1871-
#[cfg(kani)]
1871+
#[cfg(kanix)]
18721872
#[unstable(feature = "kani", issue = "none")]
18731873
mod verify {
18741874
use safety::ensures;

library/core/src/ffi/c_str.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -866,7 +866,7 @@ impl Iterator for Bytes<'_> {
866866
#[unstable(feature = "cstr_bytes", issue = "112115")]
867867
impl FusedIterator for Bytes<'_> {}
868868

869-
#[cfg(kani)]
869+
#[cfg(kanix)]
870870
#[unstable(feature = "kani", issue = "none")]
871871
mod verify {
872872
use super::*;

library/core/src/intrinsics/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4869,7 +4869,7 @@ pub(crate) const fn miri_promise_symbolic_alignment(ptr: *const (), align: usize
48694869
)
48704870
}
48714871

4872-
#[cfg(kani)]
4872+
#[cfg(kanix)]
48734873
#[unstable(feature = "kani", issue = "none")]
48744874
mod verify {
48754875
use core::mem::MaybeUninit;

library/core/src/mem/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1379,7 +1379,7 @@ pub macro offset_of($Container:ty, $($fields:expr)+ $(,)?) {
13791379
{builtin # offset_of($Container, $($fields)+)}
13801380
}
13811381

1382-
#[cfg(kani)]
1382+
#[cfg(kanix)]
13831383
#[unstable(feature = "kani", issue = "none")]
13841384
mod verify {
13851385
use super::*;

library/core/src/num/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1565,7 +1565,7 @@ from_str_radix_size_impl! { signed i32 isize, unsigned u32 usize }
15651565
#[cfg(target_pointer_width = "64")]
15661566
from_str_radix_size_impl! { signed i64 isize, unsigned u64 usize }
15671567

1568-
#[cfg(kani)]
1568+
#[cfg(kanix)]
15691569
#[unstable(feature = "kani", issue = "none")]
15701570
mod verify {
15711571
use super::*;

library/core/src/num/nonzero.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2225,7 +2225,7 @@ nonzero_integer! {
22252225
}
22262226

22272227
#[unstable(feature = "kani", issue = "none")]
2228-
#[cfg(kani)]
2228+
#[cfg(kanix)]
22292229
mod verify {
22302230
use super::*;
22312231

0 commit comments

Comments
 (0)