1 error[E0049]: method `bar` has 0 type parameters but its trait declaration has 1 type parameter
2 --> $DIR/trait-more-generics-than-impl.rs:11:11
4 LL | fn bar<T>() -> impl Sized;
5 | - expected 1 type parameter
7 LL | fn bar() -> impl Sized {}
8 | ^ found 0 type parameters
10 error: aborting due to previous error
12 For more information about this error, try `rustc --explain E0049`.