Run update_lints
This commit is contained in:
parent
c1e57402d3
commit
76598adafb
@ -666,6 +666,7 @@ pub fn register_plugins(reg: &mut rustc_plugin::Registry<'_>, conf: &Conf) {
|
||||
replace_consts::REPLACE_CONSTS,
|
||||
shadow::SHADOW_UNRELATED,
|
||||
strings::STRING_ADD_ASSIGN,
|
||||
trait_bounds::TYPE_REPETITION_IN_BOUNDS,
|
||||
types::CAST_POSSIBLE_TRUNCATION,
|
||||
types::CAST_POSSIBLE_WRAP,
|
||||
types::CAST_PRECISION_LOSS,
|
||||
@ -870,7 +871,6 @@ pub fn register_plugins(reg: &mut rustc_plugin::Registry<'_>, conf: &Conf) {
|
||||
swap::ALMOST_SWAPPED,
|
||||
swap::MANUAL_SWAP,
|
||||
temporary_assignment::TEMPORARY_ASSIGNMENT,
|
||||
trait_bounds::TYPE_REPETITION_IN_BOUNDS,
|
||||
transmute::CROSSPOINTER_TRANSMUTE,
|
||||
transmute::TRANSMUTE_BYTES_TO_STR,
|
||||
transmute::TRANSMUTE_INT_TO_BOOL,
|
||||
@ -1056,7 +1056,6 @@ pub fn register_plugins(reg: &mut rustc_plugin::Registry<'_>, conf: &Conf) {
|
||||
reference::REF_IN_DEREF,
|
||||
swap::MANUAL_SWAP,
|
||||
temporary_assignment::TEMPORARY_ASSIGNMENT,
|
||||
trait_bounds::TYPE_REPETITION_IN_BOUNDS,
|
||||
transmute::CROSSPOINTER_TRANSMUTE,
|
||||
transmute::TRANSMUTE_BYTES_TO_STR,
|
||||
transmute::TRANSMUTE_INT_TO_BOOL,
|
||||
|
@ -1857,7 +1857,7 @@ pub const ALL_LINTS: [Lint; 309] = [
|
||||
},
|
||||
Lint {
|
||||
name: "type_repetition_in_bounds",
|
||||
group: "complexity",
|
||||
group: "pedantic",
|
||||
desc: "Types are repeated unnecessary in trait bounds use `+` instead of using `T: _, T: _`",
|
||||
deprecation: None,
|
||||
module: "trait_bounds",
|
||||
|
Loading…
x
Reference in New Issue
Block a user