diff options
Diffstat (limited to 'tests/ui/parser/issue-81804.rs')
-rw-r--r-- | tests/ui/parser/issue-81804.rs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/ui/parser/issue-81804.rs b/tests/ui/parser/issue-81804.rs new file mode 100644 index 000000000..803bde11e --- /dev/null +++ b/tests/ui/parser/issue-81804.rs @@ -0,0 +1,9 @@ +// error-pattern: this file contains an unclosed delimiter +// error-pattern: this file contains an unclosed delimiter +// error-pattern: expected pattern, found `=` +// error-pattern: expected one of `)`, `,`, `->`, `where`, or `{`, found `]` +// error-pattern: expected item, found `]` + +fn main() {} + +fn p([=(} |