rust/src/test/ui/issues/issue-36708.stderr
2018-12-25 21:08:33 -07:00

10 lines
318 B
Plaintext

error[E0049]: method `foo` has 1 type parameter but its trait declaration has 0 type parameters
--> $DIR/issue-36708.rs:8:11
|
LL | fn foo<T>() {}
| ^^^ found 1 type parameter, expected 0
error: aborting due to previous error
For more information about this error, try `rustc --explain E0049`.