1 // Tests that ty params get matched correctly when comparing
2 // an impl against a trait
7 fn b<C:Clone,D>(&self, x: C) -> C;
15 // n.b. The error message is awful -- see #3404
16 fn b<F:Clone,G>(&self, _x: G) -> G { panic!() } //~ ERROR method `b` has an incompatible type