File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed
Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change 208208#![ no_std]
209209#![ warn( rust_2018_idioms, unused_lifetimes, missing_docs) ]
210210#![ cfg_attr( docsrs, feature( doc_auto_cfg) ) ]
211+ #![ deny(
212+ clippy:: cast_lossless,
213+ clippy:: cast_possible_truncation,
214+ clippy:: cast_possible_wrap,
215+ clippy:: cast_precision_loss,
216+ clippy:: cast_ptr_alignment,
217+ clippy:: cast_sign_loss,
218+ clippy:: char_lit_as_u8,
219+ clippy:: checked_conversions,
220+ clippy:: fn_to_numeric_cast,
221+ clippy:: fn_to_numeric_cast_with_truncation,
222+ clippy:: ptr_as_ptr,
223+ clippy:: unnecessary_cast,
224+ clippy:: useless_conversion
225+ ) ]
226+ // `clippy::cast_ref_to_mut` was replaced by `invalid_reference_casting` in 1.73.
227+ #![ allow( renamed_and_removed_lints) ]
228+ #![ deny( clippy:: cast_ref_to_mut) ]
211229
212230#[ macro_use]
213231extern crate cfg_if;
You can’t perform that action at this time.
0 commit comments