This repository has been archived on 2023-04-04. You can view files and clone it, but cannot push or open issues or pull requests.
p3l/integration/fail/too-xxx-arguments/expected-2-found-1.out
2022-10-16 20:14:55 +02:00

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
───╯