aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax/test_data/parser/err/0014_where_no_bounds.rast
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_syntax/test_data/parser/err/0014_where_no_bounds.rast')
-rw-r--r--crates/ra_syntax/test_data/parser/err/0014_where_no_bounds.rast32
1 files changed, 32 insertions, 0 deletions
diff --git a/crates/ra_syntax/test_data/parser/err/0014_where_no_bounds.rast b/crates/ra_syntax/test_data/parser/err/0014_where_no_bounds.rast
new file mode 100644
index 000000000..a25d641b8
--- /dev/null
+++ b/crates/ra_syntax/test_data/parser/err/0014_where_no_bounds.rast
@@ -0,0 +1,32 @@
1SOURCE_FILE@[0; 23)
2 FN_DEF@[0; 22)
3 FN_KW@[0; 2) "fn"
4 WHITESPACE@[2; 3) " "
5 NAME@[3; 6)
6 IDENT@[3; 6) "foo"
7 TYPE_PARAM_LIST@[6; 9)
8 L_ANGLE@[6; 7) "<"
9 TYPE_PARAM@[7; 8)
10 NAME@[7; 8)
11 IDENT@[7; 8) "T"
12 R_ANGLE@[8; 9) ">"
13 PARAM_LIST@[9; 11)
14 L_PAREN@[9; 10) "("
15 R_PAREN@[10; 11) ")"
16 WHITESPACE@[11; 12) " "
17 WHERE_CLAUSE@[12; 19)
18 WHERE_KW@[12; 17) "where"
19 WHITESPACE@[17; 18) " "
20 WHERE_PRED@[18; 19)
21 PATH_TYPE@[18; 19)
22 PATH@[18; 19)
23 PATH_SEGMENT@[18; 19)
24 NAME_REF@[18; 19)
25 IDENT@[18; 19) "T"
26 WHITESPACE@[19; 20) " "
27 BLOCK_EXPR@[20; 22)
28 BLOCK@[20; 22)
29 L_CURLY@[20; 21) "{"
30 R_CURLY@[21; 22) "}"
31 WHITESPACE@[22; 23) "\n"
32error [19; 19): expected colon