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-generic.out
2022-10-16 20:14:55 +02:00

11 lines
355 B
Text

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