1 error[E0053]: method `b` has an incompatible type for trait
2 --> $DIR/reordered-type-param.rs:26:30
4 17 | fn b<C:Clone,D>(&self, x: C) -> C;
7 26 | fn b<F:Clone,G>(&self, _x: G) -> G { panic!() } //~ ERROR method `b` has an incompatible type
8 | ^ expected type parameter, found a different type parameter
10 = note: expected type `fn(&E, F) -> F`
11 = note: found type `fn(&E, G) -> G`
13 error: aborting due to previous error