From a1c187eef3ba08076aedb5154929f7eda8d1b424 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Wed, 12 Aug 2020 18:26:51 +0200 Subject: Rename ra_syntax -> syntax --- .../syntax/test_data/parser/fragments/item/ok/0000_fn.rast | 12 ++++++++++++ crates/syntax/test_data/parser/fragments/item/ok/0000_fn.rs | 1 + 2 files changed, 13 insertions(+) create mode 100644 crates/syntax/test_data/parser/fragments/item/ok/0000_fn.rast create mode 100644 crates/syntax/test_data/parser/fragments/item/ok/0000_fn.rs (limited to 'crates/syntax/test_data/parser/fragments/item/ok') diff --git a/crates/syntax/test_data/parser/fragments/item/ok/0000_fn.rast b/crates/syntax/test_data/parser/fragments/item/ok/0000_fn.rast new file mode 100644 index 000000000..93c429e12 --- /dev/null +++ b/crates/syntax/test_data/parser/fragments/item/ok/0000_fn.rast @@ -0,0 +1,12 @@ +FN@0..11 + FN_KW@0..2 "fn" + WHITESPACE@2..3 " " + NAME@3..6 + IDENT@3..6 "foo" + PARAM_LIST@6..8 + L_PAREN@6..7 "(" + R_PAREN@7..8 ")" + WHITESPACE@8..9 " " + BLOCK_EXPR@9..11 + L_CURLY@9..10 "{" + R_CURLY@10..11 "}" diff --git a/crates/syntax/test_data/parser/fragments/item/ok/0000_fn.rs b/crates/syntax/test_data/parser/fragments/item/ok/0000_fn.rs new file mode 100644 index 000000000..8f3b7ef11 --- /dev/null +++ b/crates/syntax/test_data/parser/fragments/item/ok/0000_fn.rs @@ -0,0 +1 @@ +fn foo() {} -- cgit v1.2.3