diff options
Diffstat (limited to 'src/tools/rust-analyzer/crates/parser/test_data/parser/ok/0037_mod.rast')
-rw-r--r-- | src/tools/rust-analyzer/crates/parser/test_data/parser/ok/0037_mod.rast | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/tools/rust-analyzer/crates/parser/test_data/parser/ok/0037_mod.rast b/src/tools/rust-analyzer/crates/parser/test_data/parser/ok/0037_mod.rast new file mode 100644 index 000000000..b4a3fc629 --- /dev/null +++ b/src/tools/rust-analyzer/crates/parser/test_data/parser/ok/0037_mod.rast @@ -0,0 +1,16 @@ +SOURCE_FILE + COMMENT "// https://github.com/rust-lang/rust-analyzer/issues/357" + WHITESPACE "\n\n" + COMMENT "//! docs" + WHITESPACE "\n" + MODULE + COMMENT "// non-docs" + WHITESPACE "\n" + MOD_KW "mod" + WHITESPACE " " + NAME + IDENT "foo" + WHITESPACE " " + ITEM_LIST + L_CURLY "{" + R_CURLY "}" |