11 lines
341 B
Text
11 lines
341 B
Text
Error: Too few arguments
|
|
╭─[expected-2-found-1.txt:4:17]
|
|
│
|
|
2 │ fn foo(foo: int, bar: int) {}
|
|
· ─┬─
|
|
· ╰─── This function takes 2 arguments,
|
|
·
|
|
4 │ let _unit: () = foo(1);
|
|
· ─┬─
|
|
· ╰─── but only 1 arguments were supplied
|
|
───╯
|