Skip to content

Commit 76598ad

Browse files
committed
Run update_lints
1 parent c1e5740 commit 76598ad

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

clippy_lints/src/lib.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -666,6 +666,7 @@ pub fn register_plugins(reg: &mut rustc_plugin::Registry<'_>, conf: &Conf) {
666666
replace_consts::REPLACE_CONSTS,
667667
shadow::SHADOW_UNRELATED,
668668
strings::STRING_ADD_ASSIGN,
669+
trait_bounds::TYPE_REPETITION_IN_BOUNDS,
669670
types::CAST_POSSIBLE_TRUNCATION,
670671
types::CAST_POSSIBLE_WRAP,
671672
types::CAST_PRECISION_LOSS,
@@ -870,7 +871,6 @@ pub fn register_plugins(reg: &mut rustc_plugin::Registry<'_>, conf: &Conf) {
870871
swap::ALMOST_SWAPPED,
871872
swap::MANUAL_SWAP,
872873
temporary_assignment::TEMPORARY_ASSIGNMENT,
873-
trait_bounds::TYPE_REPETITION_IN_BOUNDS,
874874
transmute::CROSSPOINTER_TRANSMUTE,
875875
transmute::TRANSMUTE_BYTES_TO_STR,
876876
transmute::TRANSMUTE_INT_TO_BOOL,
@@ -1056,7 +1056,6 @@ pub fn register_plugins(reg: &mut rustc_plugin::Registry<'_>, conf: &Conf) {
10561056
reference::REF_IN_DEREF,
10571057
swap::MANUAL_SWAP,
10581058
temporary_assignment::TEMPORARY_ASSIGNMENT,
1059-
trait_bounds::TYPE_REPETITION_IN_BOUNDS,
10601059
transmute::CROSSPOINTER_TRANSMUTE,
10611060
transmute::TRANSMUTE_BYTES_TO_STR,
10621061
transmute::TRANSMUTE_INT_TO_BOOL,

src/lintlist/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1857,7 +1857,7 @@ pub const ALL_LINTS: [Lint; 309] = [
18571857
},
18581858
Lint {
18591859
name: "type_repetition_in_bounds",
1860-
group: "complexity",
1860+
group: "pedantic",
18611861
desc: "Types are repeated unnecessary in trait bounds use `+` instead of using `T: _, T: _`",
18621862
deprecation: None,
18631863
module: "trait_bounds",

0 commit comments

Comments
 (0)