]> git.lizzy.rs Git - rust.git/blob - tests/ui/typeck/issue-36708.stderr
fn-trait-closure test now pass on new solver
[rust.git] / tests / ui / typeck / issue-36708.stderr
1 error[E0049]: method `foo` has 1 type parameter but its trait declaration has 0 type parameters
2   --> $DIR/issue-36708.rs:8:12
3    |
4 LL |     fn foo<T>() {}
5    |            ^ found 1 type parameter, expected 0
6
7 error: aborting due to previous error
8
9 For more information about this error, try `rustc --explain E0049`.