Improve E0061 long error explanation

This commit is contained in:
Guillaume Gomez 2019-11-22 13:34:52 +01:00
parent f798804cd9
commit 9bb2e3cd34

View file

@ -1,3 +1,13 @@
An invalid number of arguments was passed when calling a function.
Erroneous code example:
```compile_fail,E0061
fn f(u: i32) {}
f(); // error!
```
The number of arguments passed to a function must match the number of arguments
specified in the function signature.