Skip to content

Commit ee992f4

Browse files
Fixup allow list
1 parent b03cdd9 commit ee992f4

File tree

1 file changed

+13
-10
lines changed

1 file changed

+13
-10
lines changed

src/lib.rs

+13-10
Original file line numberDiff line numberDiff line change
@@ -214,16 +214,19 @@
214214
llvm_asm
215215
)]
216216
#![allow(non_camel_case_types, non_snake_case,
217-
clippy::cast_possible_truncation,
218-
clippy::cast_lossless,
219-
clippy::cast_possible_wrap,
220-
clippy::cast_precision_loss,
221-
// TODO: manually add the `#[must_use]` attribute where appropiate
222-
clippy::must_use_candidate,
223-
// This lint is currently broken for generic code
224-
// See https://github.com/rust-lang/rust-clippy/issues/3410
225-
clippy::use_self,
226-
clippy::wrong_self_convention
217+
// FIXME: these types are unsound in C FFI already
218+
// See https://github.com/rust-lang/rust/issues/53346
219+
improper_ctypes_definitions,
220+
clippy::cast_possible_truncation,
221+
clippy::cast_lossless,
222+
clippy::cast_possible_wrap,
223+
clippy::cast_precision_loss,
224+
// TODO: manually add the `#[must_use]` attribute where appropriate
225+
clippy::must_use_candidate,
226+
// This lint is currently broken for generic code
227+
// See https://github.com/rust-lang/rust-clippy/issues/3410
228+
clippy::use_self,
229+
clippy::wrong_self_convention,
227230
)]
228231
#![cfg_attr(test, feature(hashmap_internals))]
229232
#![deny(rust_2018_idioms, clippy::missing_inline_in_public_items)]

0 commit comments

Comments
 (0)