summaryrefslogtreecommitdiffstats
path: root/tests/ui/argument-suggestions/issue-109831.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/ui/argument-suggestions/issue-109831.rs9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/ui/argument-suggestions/issue-109831.rs b/tests/ui/argument-suggestions/issue-109831.rs
new file mode 100644
index 000000000..2e8ae40f6
--- /dev/null
+++ b/tests/ui/argument-suggestions/issue-109831.rs
@@ -0,0 +1,9 @@
+struct A;
+struct B;
+
+fn f(b1: B, b2: B, a2: C) {} //~ ERROR E0412
+
+fn main() {
+ f(A, A, B, C); //~ ERROR E0425
+ //~^ ERROR E0061
+}