summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/issues/issue-91461.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/parser/issues/issue-91461.rs')
-rw-r--r--tests/ui/parser/issues/issue-91461.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/ui/parser/issues/issue-91461.rs b/tests/ui/parser/issues/issue-91461.rs
new file mode 100644
index 000000000..3e3c411c4
--- /dev/null
+++ b/tests/ui/parser/issues/issue-91461.rs
@@ -0,0 +1,6 @@
+fn main() {
+ a(_:b:,)
+ //~^ ERROR: expected identifier, found reserved identifier `_`
+ //~| ERROR: expected type, found `,`
+ //~| ERROR: expected type, found `,`
+}