]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-36708.stderr
Account for cases where we can find the type arg name, but the local name is `_`
[rust.git] / src / test / ui / issues / 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:11
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`.