1 error[E0053]: method `b` has an incompatible type for trait
2 --> $DIR/reordered-type-param.rs:16:30
4 LL | fn b<F:Clone,G>(&self, _x: G) -> G { panic!() }
7 | | | expected type parameter `F`, found type parameter `G`
8 | | | help: change the parameter type to match the trait: `F`
9 | | found type parameter
10 | expected type parameter
13 --> $DIR/reordered-type-param.rs:7:29
15 LL | fn b<C:Clone,D>(&self, x: C) -> C;
17 = note: expected fn pointer `fn(&E, F) -> F`
18 found fn pointer `fn(&E, G) -> G`
19 = note: a type parameter was expected, but a different one was found; you might be missing a type parameter or trait bound
20 = note: for more information, visit https://doc.rust-lang.org/book/ch10-02-traits.html#traits-as-parameters
22 error: aborting due to previous error
24 For more information about this error, try `rustc --explain E0053`.