Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Error code E0087

Note: this error code is no longer emitted by the compiler.

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 }

The number of supplied arguments must exactly match the number of defined type parameters.