aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax/test_data/parser/err/0015_curly_in_params.txt
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_syntax/test_data/parser/err/0015_curly_in_params.txt')
-rw-r--r--crates/ra_syntax/test_data/parser/err/0015_curly_in_params.txt24
1 files changed, 24 insertions, 0 deletions
diff --git a/crates/ra_syntax/test_data/parser/err/0015_curly_in_params.txt b/crates/ra_syntax/test_data/parser/err/0015_curly_in_params.txt
new file mode 100644
index 000000000..23ca0c446
--- /dev/null
+++ b/crates/ra_syntax/test_data/parser/err/0015_curly_in_params.txt
@@ -0,0 +1,24 @@
1SOURCE_FILE@[0; 14)
2 FN_DEF@[0; 7)
3 FN_KW@[0; 2) "fn"
4 WHITESPACE@[2; 3) " "
5 NAME@[3; 6)
6 IDENT@[3; 6) "foo"
7 PARAM_LIST@[6; 7)
8 L_PAREN@[6; 7) "("
9 ERROR@[7; 8)
10 R_CURLY@[7; 8) "}"
11 ERROR@[8; 9)
12 R_PAREN@[8; 9) ")"
13 WHITESPACE@[9; 10) " "
14 ERROR@[10; 13)
15 L_CURLY@[10; 11) "{"
16 WHITESPACE@[11; 12) "\n"
17 R_CURLY@[12; 13) "}"
18 WHITESPACE@[13; 14) "\n"
19error 7: expected value parameter
20error 7: expected R_PAREN
21error 7: expected a block
22error 7: unmatched `}`
23error 8: expected an item
24error 10: expected an item