1
1
error: this trait bound is already specified in the where clause
2
- --> tests/ui/trait_duplication_in_bounds_unfixable.rs:6 :15
2
+ --> tests/ui/trait_duplication_in_bounds_unfixable.rs:7 :15
3
3
|
4
4
LL | fn bad_foo<T: Clone + Default, Z: Copy>(arg0: T, arg1: Z)
5
5
| ^^^^^
@@ -12,55 +12,55 @@ LL | #![deny(clippy::trait_duplication_in_bounds)]
12
12
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
13
13
14
14
error: this trait bound is already specified in the where clause
15
- --> tests/ui/trait_duplication_in_bounds_unfixable.rs:6 :23
15
+ --> tests/ui/trait_duplication_in_bounds_unfixable.rs:7 :23
16
16
|
17
17
LL | fn bad_foo<T: Clone + Default, Z: Copy>(arg0: T, arg1: Z)
18
18
| ^^^^^^^
19
19
|
20
20
= help: consider removing this trait bound
21
21
22
22
error: this trait bound is already specified in trait declaration
23
- --> tests/ui/trait_duplication_in_bounds_unfixable.rs:37 :15
23
+ --> tests/ui/trait_duplication_in_bounds_unfixable.rs:38 :15
24
24
|
25
25
LL | Self: Default;
26
26
| ^^^^^^^
27
27
|
28
28
= help: consider removing this trait bound
29
29
30
30
error: this trait bound is already specified in trait declaration
31
- --> tests/ui/trait_duplication_in_bounds_unfixable.rs:52 :15
31
+ --> tests/ui/trait_duplication_in_bounds_unfixable.rs:53 :15
32
32
|
33
33
LL | Self: Default + Clone;
34
34
| ^^^^^^^
35
35
|
36
36
= help: consider removing this trait bound
37
37
38
38
error: this trait bound is already specified in trait declaration
39
- --> tests/ui/trait_duplication_in_bounds_unfixable.rs:59 :15
39
+ --> tests/ui/trait_duplication_in_bounds_unfixable.rs:60 :15
40
40
|
41
41
LL | Self: Default + Clone;
42
42
| ^^^^^^^
43
43
|
44
44
= help: consider removing this trait bound
45
45
46
46
error: this trait bound is already specified in trait declaration
47
- --> tests/ui/trait_duplication_in_bounds_unfixable.rs:59 :25
47
+ --> tests/ui/trait_duplication_in_bounds_unfixable.rs:60 :25
48
48
|
49
49
LL | Self: Default + Clone;
50
50
| ^^^^^
51
51
|
52
52
= help: consider removing this trait bound
53
53
54
54
error: this trait bound is already specified in trait declaration
55
- --> tests/ui/trait_duplication_in_bounds_unfixable.rs:64 :15
55
+ --> tests/ui/trait_duplication_in_bounds_unfixable.rs:65 :15
56
56
|
57
57
LL | Self: Default;
58
58
| ^^^^^^^
59
59
|
60
60
= help: consider removing this trait bound
61
61
62
62
error: this trait bound is already specified in trait declaration
63
- --> tests/ui/trait_duplication_in_bounds_unfixable.rs:100 :15
63
+ --> tests/ui/trait_duplication_in_bounds_unfixable.rs:101 :15
64
64
|
65
65
LL | Self: Iterator<Item = Foo>,
66
66
| ^^^^^^^^^^^^^^^^^^^^
0 commit comments