Too many type arguments were supplied for a function. For example:
fn foo<T>() {}
fn main() {
foo::<f64, bool>(); // error: wrong number of type arguments:
// expected 1, found 2
}
RunThe number of supplied arguments must exactly match the number of defined type parameters.