From 537da096fefb35a2b91670eb8a1ffe16e4330962 Mon Sep 17 00:00:00 2001 From: Han Mertens Date: Wed, 12 Feb 2020 23:09:13 +0100 Subject: Run cargo xtask codegen --- .../ra_syntax/test_data/parser/inline/ok/0157_fn_pointer_unnamed_arg.rs | 1 + 1 file changed, 1 insertion(+) create mode 100644 crates/ra_syntax/test_data/parser/inline/ok/0157_fn_pointer_unnamed_arg.rs (limited to 'crates/ra_syntax/test_data') diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0157_fn_pointer_unnamed_arg.rs b/crates/ra_syntax/test_data/parser/inline/ok/0157_fn_pointer_unnamed_arg.rs new file mode 100644 index 000000000..1ebbe5b03 --- /dev/null +++ b/crates/ra_syntax/test_data/parser/inline/ok/0157_fn_pointer_unnamed_arg.rs @@ -0,0 +1 @@ +type Foo = fn(_: bar); -- cgit v1.2.3 From bed9c083de54283779a889fed4accc55f84483dc Mon Sep 17 00:00:00 2001 From: Han Mertens Date: Wed, 12 Feb 2020 23:15:48 +0100 Subject: Run cargo test --- .../inline/ok/0157_fn_pointer_unnamed_arg.txt | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 crates/ra_syntax/test_data/parser/inline/ok/0157_fn_pointer_unnamed_arg.txt (limited to 'crates/ra_syntax/test_data') diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0157_fn_pointer_unnamed_arg.txt b/crates/ra_syntax/test_data/parser/inline/ok/0157_fn_pointer_unnamed_arg.txt new file mode 100644 index 000000000..52d8f21a4 --- /dev/null +++ b/crates/ra_syntax/test_data/parser/inline/ok/0157_fn_pointer_unnamed_arg.txt @@ -0,0 +1,26 @@ +SOURCE_FILE@[0; 23) + TYPE_ALIAS_DEF@[0; 22) + TYPE_KW@[0; 4) "type" + WHITESPACE@[4; 5) " " + NAME@[5; 8) + IDENT@[5; 8) "Foo" + WHITESPACE@[8; 9) " " + EQ@[9; 10) "=" + WHITESPACE@[10; 11) " " + FN_POINTER_TYPE@[11; 21) + FN_KW@[11; 13) "fn" + PARAM_LIST@[13; 21) + L_PAREN@[13; 14) "(" + PARAM@[14; 20) + PLACEHOLDER_PAT@[14; 15) + UNDERSCORE@[14; 15) "_" + COLON@[15; 16) ":" + WHITESPACE@[16; 17) " " + PATH_TYPE@[17; 20) + PATH@[17; 20) + PATH_SEGMENT@[17; 20) + NAME_REF@[17; 20) + IDENT@[17; 20) "bar" + R_PAREN@[20; 21) ")" + SEMI@[21; 22) ";" + WHITESPACE@[22; 23) "\n" -- cgit v1.2.3