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