diff options
Diffstat (limited to 'src/test/ui/argument-suggestions/issue-97197.rs')
-rw-r--r-- | src/test/ui/argument-suggestions/issue-97197.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/test/ui/argument-suggestions/issue-97197.rs b/src/test/ui/argument-suggestions/issue-97197.rs new file mode 100644 index 000000000..6f9f4293e --- /dev/null +++ b/src/test/ui/argument-suggestions/issue-97197.rs @@ -0,0 +1,6 @@ +fn main() { + g((), ()); + //~^ ERROR this function takes 6 arguments but 2 arguments were supplied +} + +pub fn g(a1: (), a2: bool, a3: bool, a4: bool, a5: bool, a6: ()) -> () {} |