|
214 | 214 | llvm_asm
|
215 | 215 | )]
|
216 | 216 | #![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, |
227 | 230 | )]
|
228 | 231 | #![cfg_attr(test, feature(hashmap_internals))]
|
229 | 232 | #![deny(rust_2018_idioms, clippy::missing_inline_in_public_items)]
|
|
0 commit comments