mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-10 23:24:24 +00:00
run clippy_dev update_lints
This commit is contained in:
parent
b0c8c7af16
commit
0d2a378547
2 changed files with 4 additions and 4 deletions
|
@ -788,6 +788,7 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
|
|||
&to_digit_is_some::TO_DIGIT_IS_SOME,
|
||||
&trait_bounds::TYPE_REPETITION_IN_BOUNDS,
|
||||
&transmute::CROSSPOINTER_TRANSMUTE,
|
||||
&transmute::TRANSMUTES_EXPRESSIBLE_AS_PTR_CASTS,
|
||||
&transmute::TRANSMUTE_BYTES_TO_STR,
|
||||
&transmute::TRANSMUTE_FLOAT_TO_INT,
|
||||
&transmute::TRANSMUTE_INT_TO_BOOL,
|
||||
|
@ -798,7 +799,6 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
|
|||
&transmute::UNSOUND_COLLECTION_TRANSMUTE,
|
||||
&transmute::USELESS_TRANSMUTE,
|
||||
&transmute::WRONG_TRANSMUTE,
|
||||
&transmute::TRANSMUTES_EXPRESSIBLE_AS_PTR_CASTS,
|
||||
&transmuting_null::TRANSMUTING_NULL,
|
||||
&trivially_copy_pass_by_ref::TRIVIALLY_COPY_PASS_BY_REF,
|
||||
&try_err::TRY_ERR,
|
||||
|
@ -1418,6 +1418,7 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
|
|||
LintId::of(&temporary_assignment::TEMPORARY_ASSIGNMENT),
|
||||
LintId::of(&to_digit_is_some::TO_DIGIT_IS_SOME),
|
||||
LintId::of(&transmute::CROSSPOINTER_TRANSMUTE),
|
||||
LintId::of(&transmute::TRANSMUTES_EXPRESSIBLE_AS_PTR_CASTS),
|
||||
LintId::of(&transmute::TRANSMUTE_BYTES_TO_STR),
|
||||
LintId::of(&transmute::TRANSMUTE_FLOAT_TO_INT),
|
||||
LintId::of(&transmute::TRANSMUTE_INT_TO_BOOL),
|
||||
|
@ -1427,7 +1428,6 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
|
|||
LintId::of(&transmute::TRANSMUTE_PTR_TO_REF),
|
||||
LintId::of(&transmute::UNSOUND_COLLECTION_TRANSMUTE),
|
||||
LintId::of(&transmute::WRONG_TRANSMUTE),
|
||||
LintId::of(&transmute::TRANSMUTES_EXPRESSIBLE_AS_PTR_CASTS),
|
||||
LintId::of(&transmuting_null::TRANSMUTING_NULL),
|
||||
LintId::of(&try_err::TRY_ERR),
|
||||
LintId::of(&types::ABSURD_EXTREME_COMPARISONS),
|
||||
|
@ -1619,6 +1619,7 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
|
|||
LintId::of(&swap::MANUAL_SWAP),
|
||||
LintId::of(&temporary_assignment::TEMPORARY_ASSIGNMENT),
|
||||
LintId::of(&transmute::CROSSPOINTER_TRANSMUTE),
|
||||
LintId::of(&transmute::TRANSMUTES_EXPRESSIBLE_AS_PTR_CASTS),
|
||||
LintId::of(&transmute::TRANSMUTE_BYTES_TO_STR),
|
||||
LintId::of(&transmute::TRANSMUTE_FLOAT_TO_INT),
|
||||
LintId::of(&transmute::TRANSMUTE_INT_TO_BOOL),
|
||||
|
@ -1626,7 +1627,6 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
|
|||
LintId::of(&transmute::TRANSMUTE_INT_TO_FLOAT),
|
||||
LintId::of(&transmute::TRANSMUTE_PTR_TO_PTR),
|
||||
LintId::of(&transmute::TRANSMUTE_PTR_TO_REF),
|
||||
LintId::of(&transmute::TRANSMUTES_EXPRESSIBLE_AS_PTR_CASTS),
|
||||
LintId::of(&types::BORROWED_BOX),
|
||||
LintId::of(&types::CHAR_LIT_AS_U8),
|
||||
LintId::of(&types::TYPE_COMPLEXITY),
|
||||
|
|
|
@ -2218,7 +2218,7 @@ pub static ref ALL_LINTS: Vec<Lint> = vec![
|
|||
Lint {
|
||||
name: "transmutes_expressible_as_ptr_casts",
|
||||
group: "complexity",
|
||||
desc: "default lint description",
|
||||
desc: "transmutes that could be a pointer cast",
|
||||
deprecation: None,
|
||||
module: "transmute",
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue