509 |
#[allow(clippy::cast_possible_wrap)]
|
510 |
#[allow(clippy::checked_conversions)]
|
511 |
pub const fn as_i8(&self) -> Result<i8, Error> {
|
542 |
#[allow(clippy::cast_possible_wrap)]
|
543 |
#[allow(clippy::checked_conversions)]
|
544 |
pub const fn as_i16(&self) -> Result<i16, Error> {
|
595 |
#[allow(clippy::cast_possible_wrap)]
|
596 |
#[allow(clippy::checked_conversions)]
|
597 |
pub const fn as_i32(&self) -> Result<i32, Error> {
|
654 |
#[allow(clippy::cast_possible_wrap)]
|
655 |
#[allow(clippy::checked_conversions)]
|
656 |
pub const fn as_i64(&self) -> Result<i64, Error> {
|
44 |
#[inline]
|
45 |
#[allow(clippy::integer_arithmetic, clippy::checked_conversions)]
|
53 |
/// This is a separate module so we can change the clippy warnings on it.
|
54 |
#[allow(clippy::checked_conversions)]
|
55 |
mod assertion {
|
18 |
pub unsafe fn alloc_uninit_bytes(len: usize) -> Box<[MaybeUninit<u8>]> {
|
19 |
#[allow(clippy::checked_conversions)]
|
20 |
#[cfg(any(debug_assertions, miri))]
|
165 |
#[allow(
|
166 |
clippy::checked_conversions,
|
167 |
clippy::missing_const_for_fn,
|
29 |
clippy::cast_sign_loss,
|
30 |
clippy::checked_conversions,
|
31 |
clippy::copy_iterator,
|
104 |
// not available in our oldest supported compiler
|
105 |
checked_conversions,
|
106 |
empty_enum,
|
34 |
clippy::cast_possible_truncation,
|
35 |
clippy::checked_conversions,
|
36 |
clippy::doc_markdown,
|
350 |
// we support older compilers
|
351 |
clippy::checked_conversions,
|
352 |
clippy::mem_replace_with_default,
|
140 |
clippy::cast_precision_loss,
|
141 |
clippy::checked_conversions,
|
142 |
clippy::doc_markdown,
|
150 |
clippy::cast_precision_loss,
|
151 |
clippy::checked_conversions,
|
152 |
clippy::doc_markdown,
|
149 |
clippy::cast_precision_loss,
|
150 |
clippy::checked_conversions,
|
151 |
clippy::doc_markdown,
|
89 |
clippy::cast_sign_loss,
|
90 |
clippy::checked_conversions,
|
91 |
clippy::doc_markdown,
|
27 |
clippy::cast_sign_loss,
|
28 |
clippy::checked_conversions,
|
29 |
clippy::float_cmp,
|
63 |
clippy::cast_sign_loss,
|
64 |
clippy::checked_conversions,
|
65 |
clippy::doc_markdown,
|
27 |
clippy::cast_sign_loss,
|
28 |
clippy::checked_conversions,
|
29 |
clippy::float_cmp,
|
40 |
clippy::cast_possible_truncation,
|
41 |
clippy::checked_conversions,
|
42 |
clippy::doc_markdown,
|
34 |
clippy::cast_possible_truncation,
|
35 |
clippy::checked_conversions,
|
36 |
clippy::doc_markdown,
|
357 |
// we support older compilers
|
358 |
clippy::checked_conversions,
|
359 |
clippy::mem_replace_with_default,
|
358 |
// we support older compilers
|
359 |
clippy::checked_conversions,
|
360 |
clippy::mem_replace_with_default,
|
350 |
// we support older compilers
|
351 |
clippy::checked_conversions,
|
352 |
clippy::mem_replace_with_default,
|
129 |
clippy::cast_lossless,
|
130 |
clippy::checked_conversions,
|
131 |
clippy::if_not_else,
|