aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax/test_data/parser/err/0014_where_no_bounds.txt
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_syntax/test_data/parser/err/0014_where_no_bounds.txt')
-rw-r--r--crates/ra_syntax/test_data/parser/err/0014_where_no_bounds.txt31
1 files changed, 31 insertions, 0 deletions
diff --git a/crates/ra_syntax/test_data/parser/err/0014_where_no_bounds.txt b/crates/ra_syntax/test_data/parser/err/0014_where_no_bounds.txt
new file mode 100644
index 000000000..2f0878572
--- /dev/null
+++ b/crates/ra_syntax/test_data/parser/err/0014_where_no_bounds.txt
@@ -0,0 +1,31 @@
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@[20; 22)
28 L_CURLY@[20; 21) "{"
29 R_CURLY@[21; 22) "}"
30 WHITESPACE@[22; 23) "\n"
31error 19: expected colon