From 134fe4f566d94fd4ca91c6417fab0ae7b3e4275f Mon Sep 17 00:00:00 2001 From: DJMcNab <36049421+DJMcNab@users.noreply.github.com> Date: Thu, 20 Dec 2018 16:45:54 +0000 Subject: Fix the tests and fix the precommit hook --- .../inline/ok/0092_fn_pointer_type_with_ret.txt | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 crates/ra_syntax/tests/data/parser/inline/ok/0092_fn_pointer_type_with_ret.txt (limited to 'crates/ra_syntax/tests/data/parser/inline/ok/0092_fn_pointer_type_with_ret.txt') diff --git a/crates/ra_syntax/tests/data/parser/inline/ok/0092_fn_pointer_type_with_ret.txt b/crates/ra_syntax/tests/data/parser/inline/ok/0092_fn_pointer_type_with_ret.txt new file mode 100644 index 000000000..f092c6df7 --- /dev/null +++ b/crates/ra_syntax/tests/data/parser/inline/ok/0092_fn_pointer_type_with_ret.txt @@ -0,0 +1,23 @@ +SOURCE_FILE@[0; 21) + TYPE_DEF@[0; 20) + TYPE_KW@[0; 4) + WHITESPACE@[4; 5) + NAME@[5; 6) + IDENT@[5; 6) "F" + WHITESPACE@[6; 7) + EQ@[7; 8) + WHITESPACE@[8; 9) + FN_POINTER_TYPE@[9; 19) + FN_KW@[9; 11) + PARAM_LIST@[11; 13) + L_PAREN@[11; 12) + R_PAREN@[12; 13) + WHITESPACE@[13; 14) + RET_TYPE@[14; 19) + THIN_ARROW@[14; 16) + WHITESPACE@[16; 17) + TUPLE_TYPE@[17; 19) + L_PAREN@[17; 18) + R_PAREN@[18; 19) + SEMI@[19; 20) + WHITESPACE@[20; 21) -- cgit v1.2.3