1 error: `Foo` has a similarly named generic type parameter `B` in its declaration, but in a different order
2 --> $DIR/mismatching_type_param_order.rs:11:20
4 LL | impl<B, A> Foo<B, A> {}
7 = help: try `A`, or a name that does not conflict with `Foo`'s generic params
8 = note: `-D clippy::mismatching-type-param-order` implied by `-D warnings`
10 error: `Foo` has a similarly named generic type parameter `A` in its declaration, but in a different order
11 --> $DIR/mismatching_type_param_order.rs:11:23
13 LL | impl<B, A> Foo<B, A> {}
16 = help: try `B`, or a name that does not conflict with `Foo`'s generic params
18 error: `Foo` has a similarly named generic type parameter `A` in its declaration, but in a different order
19 --> $DIR/mismatching_type_param_order.rs:14:23
21 LL | impl<C, A> Foo<C, A> {}
24 = help: try `B`, or a name that does not conflict with `Foo`'s generic params
26 error: `FooLifetime` has a similarly named generic type parameter `B` in its declaration, but in a different order
27 --> $DIR/mismatching_type_param_order.rs:25:44
29 LL | impl<'m, 'l, B, A> FooLifetime<'m, 'l, B, A> {}
32 = help: try `A`, or a name that does not conflict with `FooLifetime`'s generic params
34 error: `FooLifetime` has a similarly named generic type parameter `A` in its declaration, but in a different order
35 --> $DIR/mismatching_type_param_order.rs:25:47
37 LL | impl<'m, 'l, B, A> FooLifetime<'m, 'l, B, A> {}
40 = help: try `B`, or a name that does not conflict with `FooLifetime`'s generic params
42 error: `FooEnum` has a similarly named generic type parameter `C` in its declaration, but in a different order
43 --> $DIR/mismatching_type_param_order.rs:41:27
45 LL | impl<C, A, B> FooEnum<C, A, B> {}
48 = help: try `A`, or a name that does not conflict with `FooEnum`'s generic params
50 error: `FooEnum` has a similarly named generic type parameter `A` in its declaration, but in a different order
51 --> $DIR/mismatching_type_param_order.rs:41:30
53 LL | impl<C, A, B> FooEnum<C, A, B> {}
56 = help: try `B`, or a name that does not conflict with `FooEnum`'s generic params
58 error: `FooEnum` has a similarly named generic type parameter `B` in its declaration, but in a different order
59 --> $DIR/mismatching_type_param_order.rs:41:33
61 LL | impl<C, A, B> FooEnum<C, A, B> {}
64 = help: try `C`, or a name that does not conflict with `FooEnum`'s generic params
66 error: `FooUnion` has a similarly named generic type parameter `B` in its declaration, but in a different order
67 --> $DIR/mismatching_type_param_order.rs:52:31
69 LL | impl<B: Copy, A> FooUnion<B, A> where A: Copy {}
72 = help: try `A`, or a name that does not conflict with `FooUnion`'s generic params
74 error: `FooUnion` has a similarly named generic type parameter `A` in its declaration, but in a different order
75 --> $DIR/mismatching_type_param_order.rs:52:34
77 LL | impl<B: Copy, A> FooUnion<B, A> where A: Copy {}
80 = help: try `B`, or a name that does not conflict with `FooUnion`'s generic params
82 error: aborting due to 10 previous errors