1 error[E0049]: method `foo` has 0 type parameters but its trait declaration has 1 type parameter
4 LL | fn foo<T: Default>(x: T) -> Self;
5 | - expected 1 type parameter
7 LL | fn foo(x: bool) -> Self { Bar }
8 | ^ found 0 type parameters
10 error[E0049]: method `fuzz` has 0 type parameters but its trait declaration has 2 type parameters
11 --> $DIR/E0049.rs:18:12
13 LL | fn fuzz<A: Default, B>(x: A, y: B) -> Self;
16 | expected 2 type parameters
18 LL | fn fuzz(x: bool, y: bool) -> Self { Baz }
19 | ^ found 0 type parameters
21 error: aborting due to 2 previous errors
23 For more information about this error, try `rustc --explain E0049`.