@@ -64,37 +64,37 @@ LL | T: Clone + Clone + Clone + Copy,
64
64
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `Clone + Copy`
65
65
66
66
error: this trait bound is already specified in the where clause
67
- --> $DIR/repeated_where_clauses_or_trait_bounds.rs:97 :20
67
+ --> $DIR/repeated_where_clauses_or_trait_bounds.rs:98 :20
68
68
|
69
69
LL | fn good_generic<T: GenericTrait<u64> + GenericTrait<u32>>(arg0: T) {
70
70
| ^^^^^^^^^^^^^^^^^
71
71
|
72
72
= help: consider removing this trait bound
73
73
74
74
error: this trait bound is already specified in the where clause
75
- --> $DIR/repeated_where_clauses_or_trait_bounds.rs:101 :19
75
+ --> $DIR/repeated_where_clauses_or_trait_bounds.rs:102 :19
76
76
|
77
77
LL | fn bad_generic<T: GenericTrait<u64> + GenericTrait<u32> + GenericTrait<u64>>(arg0: T) {
78
78
| ^^^^^^^^^^^^^^^^^
79
79
|
80
80
= help: consider removing this trait bound
81
81
82
82
error: these bounds contain repeated elements
83
- --> $DIR/repeated_where_clauses_or_trait_bounds.rs:101 :19
83
+ --> $DIR/repeated_where_clauses_or_trait_bounds.rs:102 :19
84
84
|
85
85
LL | fn bad_generic<T: GenericTrait<u64> + GenericTrait<u32> + GenericTrait<u64>>(arg0: T) {
86
86
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `GenericTrait<u32> + GenericTrait<u64>`
87
87
88
88
error: this trait bound is already specified in the where clause
89
- --> $DIR/repeated_where_clauses_or_trait_bounds.rs:109 :22
89
+ --> $DIR/repeated_where_clauses_or_trait_bounds.rs:110 :22
90
90
|
91
91
LL | fn qualified_path<T: std::clone::Clone + Clone + foo::Clone>(arg0: T) {
92
92
| ^^^^^^^^^^^^^^^^^
93
93
|
94
94
= help: consider removing this trait bound
95
95
96
96
error: these bounds contain repeated elements
97
- --> $DIR/repeated_where_clauses_or_trait_bounds.rs:109 :22
97
+ --> $DIR/repeated_where_clauses_or_trait_bounds.rs:110 :22
98
98
|
99
99
LL | fn qualified_path<T: std::clone::Clone + Clone + foo::Clone>(arg0: T) {
100
100
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `Clone + foo::Clone`
0 commit comments