|
1 | 1 | error: these bounds contain repeated elements |
2 | | - --> $DIR/repeated_where_clause_or_trait_bound.rs:6:15 |
| 2 | + --> $DIR/repeated_where_clauses_or_trait_bounds.rs:6:15 |
3 | 3 | | |
4 | 4 | LL | fn bad_foo<T: Clone + Clone + Clone + Copy, U: Clone + Copy>(arg0: T, argo1: U) { |
5 | 5 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `Clone + Copy` |
6 | 6 | | |
7 | 7 | note: the lint level is defined here |
8 | | - --> $DIR/repeated_where_clause_or_trait_bound.rs:4:9 |
| 8 | + --> $DIR/repeated_where_clauses_or_trait_bounds.rs:4:9 |
9 | 9 | | |
10 | | -LL | #![deny(clippy::repeated_where_clause_or_trait_bound)] |
11 | | - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 10 | +LL | #![deny(clippy::repeated_where_clauses_or_trait_bounds)] |
| 11 | + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
12 | 12 |
|
13 | 13 | error: these where clauses contain repeated elements |
14 | | - --> $DIR/repeated_where_clause_or_trait_bound.rs:12:8 |
| 14 | + --> $DIR/repeated_where_clauses_or_trait_bounds.rs:12:8 |
15 | 15 | | |
16 | 16 | LL | T: Clone + Clone + Clone + Copy, |
17 | 17 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `Clone + Copy` |
18 | 18 |
|
19 | 19 | error: these bounds contain repeated elements |
20 | | - --> $DIR/repeated_where_clause_or_trait_bound.rs:40:26 |
| 20 | + --> $DIR/repeated_where_clauses_or_trait_bounds.rs:40:26 |
21 | 21 | | |
22 | 22 | LL | trait BadSelfTraitBound: Clone + Clone + Clone { |
23 | 23 | | ^^^^^^^^^^^^^^^^^^^^^ help: try: `Clone` |
24 | 24 |
|
25 | 25 | error: these where clauses contain repeated elements |
26 | | - --> $DIR/repeated_where_clause_or_trait_bound.rs:47:15 |
| 26 | + --> $DIR/repeated_where_clauses_or_trait_bounds.rs:47:15 |
27 | 27 | | |
28 | 28 | LL | Self: Clone + Clone + Clone; |
29 | 29 | | ^^^^^^^^^^^^^^^^^^^^^ help: try: `Clone` |
30 | 30 |
|
31 | 31 | error: these bounds contain repeated elements |
32 | | - --> $DIR/repeated_where_clause_or_trait_bound.rs:61:24 |
| 32 | + --> $DIR/repeated_where_clauses_or_trait_bounds.rs:61:24 |
33 | 33 | | |
34 | 34 | LL | trait BadTraitBound<T: Clone + Clone + Clone + Copy, U: Clone + Copy> { |
35 | 35 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `Clone + Copy` |
36 | 36 |
|
37 | 37 | error: these where clauses contain repeated elements |
38 | | - --> $DIR/repeated_where_clause_or_trait_bound.rs:68:12 |
| 38 | + --> $DIR/repeated_where_clauses_or_trait_bounds.rs:68:12 |
39 | 39 | | |
40 | 40 | LL | T: Clone + Clone + Clone + Copy, |
41 | 41 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `Clone + Copy` |
42 | 42 |
|
43 | 43 | error: these bounds contain repeated elements |
44 | | - --> $DIR/repeated_where_clause_or_trait_bound.rs:101:19 |
| 44 | + --> $DIR/repeated_where_clauses_or_trait_bounds.rs:101:19 |
45 | 45 | | |
46 | 46 | LL | fn bad_generic<T: GenericTrait<u64> + GenericTrait<u32> + GenericTrait<u64>>(arg0: T) { |
47 | 47 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `GenericTrait<u32> + GenericTrait<u64>` |
48 | 48 |
|
49 | 49 | error: these bounds contain repeated elements |
50 | | - --> $DIR/repeated_where_clause_or_trait_bound.rs:109:22 |
| 50 | + --> $DIR/repeated_where_clauses_or_trait_bounds.rs:109:22 |
51 | 51 | | |
52 | 52 | LL | fn qualified_path<T: std::clone::Clone + Clone + foo::Clone>(arg0: T) { |
53 | 53 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `Clone + foo::Clone` |
|
0 commit comments