new lint: mem-replace-with-uninit
This commit is contained in:
@@ -783,6 +783,7 @@ pub fn register_plugins(reg: &mut rustc_driver::plugin::Registry<'_>, conf: &Con
|
||||
matches::SINGLE_MATCH,
|
||||
mem_discriminant::MEM_DISCRIMINANT_NON_ENUM,
|
||||
mem_replace::MEM_REPLACE_OPTION_WITH_NONE,
|
||||
mem_replace::MEM_REPLACE_WITH_UNINIT,
|
||||
methods::CHARS_LAST_CMP,
|
||||
methods::CHARS_NEXT_CMP,
|
||||
methods::CLONE_DOUBLE_REF,
|
||||
@@ -1117,6 +1118,7 @@ pub fn register_plugins(reg: &mut rustc_driver::plugin::Registry<'_>, conf: &Con
|
||||
loops::REVERSE_RANGE_LOOP,
|
||||
loops::WHILE_IMMUTABLE_CONDITION,
|
||||
mem_discriminant::MEM_DISCRIMINANT_NON_ENUM,
|
||||
mem_replace::MEM_REPLACE_WITH_UNINIT,
|
||||
methods::CLONE_DOUBLE_REF,
|
||||
methods::INTO_ITER_ON_ARRAY,
|
||||
methods::TEMPORARY_CSTRING_AS_PTR,
|
||||
|
||||
Reference in New Issue
Block a user