aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.cargo/config8
-rw-r--r--crates/gen_lsp_server/Cargo.toml2
-rw-r--r--crates/libeditor/scope.rs0
-rw-r--r--crates/ra_analysis/Cargo.toml (renamed from crates/libanalysis/Cargo.toml)6
-rw-r--r--crates/ra_analysis/src/db/imp.rs (renamed from crates/libanalysis/src/db/imp.rs)0
-rw-r--r--crates/ra_analysis/src/db/mod.rs (renamed from crates/libanalysis/src/db/mod.rs)0
-rw-r--r--crates/ra_analysis/src/descriptors.rs (renamed from crates/libanalysis/src/descriptors.rs)2
-rw-r--r--crates/ra_analysis/src/imp.rs (renamed from crates/libanalysis/src/imp.rs)14
-rw-r--r--crates/ra_analysis/src/job.rs (renamed from crates/libanalysis/src/job.rs)0
-rw-r--r--crates/ra_analysis/src/lib.rs (renamed from crates/libanalysis/src/lib.rs)26
-rw-r--r--crates/ra_analysis/src/module_map.rs (renamed from crates/libanalysis/src/module_map.rs)0
-rw-r--r--crates/ra_analysis/src/queries.rs (renamed from crates/libanalysis/src/queries.rs)4
-rw-r--r--crates/ra_analysis/src/roots.rs (renamed from crates/libanalysis/src/roots.rs)4
-rw-r--r--crates/ra_analysis/src/symbol_index.rs (renamed from crates/libanalysis/src/symbol_index.rs)4
-rw-r--r--crates/ra_analysis/tests/tests.rs (renamed from crates/libanalysis/tests/tests.rs)4
-rw-r--r--crates/ra_cli/Cargo.toml (renamed from crates/cli/Cargo.toml)6
-rw-r--r--crates/ra_cli/src/main.rs (renamed from crates/cli/src/main.rs)10
-rw-r--r--crates/ra_editor/Cargo.toml (renamed from crates/libeditor/Cargo.toml)4
-rw-r--r--crates/ra_editor/src/code_actions.rs (renamed from crates/libeditor/src/code_actions.rs)2
-rw-r--r--crates/ra_editor/src/completion.rs (renamed from crates/libeditor/src/completion.rs)2
-rw-r--r--crates/ra_editor/src/edit.rs (renamed from crates/libeditor/src/edit.rs)2
-rw-r--r--crates/ra_editor/src/extend_selection.rs (renamed from crates/libeditor/src/extend_selection.rs)2
-rw-r--r--crates/ra_editor/src/lib.rs (renamed from crates/libeditor/src/lib.rs)8
-rw-r--r--crates/ra_editor/src/line_index.rs (renamed from crates/libeditor/src/line_index.rs)0
-rw-r--r--crates/ra_editor/src/scope/fn_scope.rs (renamed from crates/libeditor/src/scope/fn_scope.rs)4
-rw-r--r--crates/ra_editor/src/scope/mod.rs (renamed from crates/libeditor/src/scope/mod.rs)0
-rw-r--r--crates/ra_editor/src/scope/mod_scope.rs (renamed from crates/libeditor/src/scope/mod_scope.rs)4
-rw-r--r--crates/ra_editor/src/symbols.rs (renamed from crates/libeditor/src/symbols.rs)2
-rw-r--r--crates/ra_editor/src/test_utils.rs (renamed from crates/libeditor/src/test_utils.rs)2
-rw-r--r--crates/ra_editor/src/typing.rs (renamed from crates/libeditor/src/typing.rs)2
-rw-r--r--crates/ra_lsp_server/Cargo.toml (renamed from crates/server/Cargo.toml)10
-rw-r--r--crates/ra_lsp_server/src/caps.rs (renamed from crates/server/src/caps.rs)0
-rw-r--r--crates/ra_lsp_server/src/conv.rs (renamed from crates/server/src/conv.rs)6
-rw-r--r--crates/ra_lsp_server/src/lib.rs (renamed from crates/server/src/lib.rs)6
-rw-r--r--crates/ra_lsp_server/src/main.rs (renamed from crates/server/src/main.rs)8
-rw-r--r--crates/ra_lsp_server/src/main_loop/handlers.rs (renamed from crates/server/src/main_loop/handlers.rs)4
-rw-r--r--crates/ra_lsp_server/src/main_loop/mod.rs (renamed from crates/server/src/main_loop/mod.rs)2
-rw-r--r--crates/ra_lsp_server/src/main_loop/subscriptions.rs (renamed from crates/server/src/main_loop/subscriptions.rs)2
-rw-r--r--crates/ra_lsp_server/src/path_map.rs (renamed from crates/server/src/path_map.rs)2
-rw-r--r--crates/ra_lsp_server/src/project_model.rs (renamed from crates/server/src/project_model.rs)2
-rw-r--r--crates/ra_lsp_server/src/req.rs (renamed from crates/server/src/req.rs)0
-rw-r--r--crates/ra_lsp_server/src/server_world.rs (renamed from crates/server/src/server_world.rs)2
-rw-r--r--crates/ra_lsp_server/src/thread_watcher.rs (renamed from crates/server/src/thread_watcher.rs)0
-rw-r--r--crates/ra_lsp_server/src/vfs.rs (renamed from crates/server/src/vfs.rs)0
-rw-r--r--crates/ra_lsp_server/tests/heavy_tests/main.rs (renamed from crates/server/tests/heavy_tests/main.rs)4
-rw-r--r--crates/ra_lsp_server/tests/heavy_tests/support.rs (renamed from crates/server/tests/heavy_tests/support.rs)2
-rw-r--r--crates/ra_syntax/Cargo.toml (renamed from crates/libsyntax2/Cargo.toml)2
-rw-r--r--crates/ra_syntax/fuzz/.gitignore (renamed from crates/libsyntax2/fuzz/.gitignore)0
-rw-r--r--crates/ra_syntax/fuzz/Cargo.toml (renamed from crates/libsyntax2/fuzz/Cargo.toml)4
-rw-r--r--crates/ra_syntax/fuzz/fuzz_targets/parser.rs (renamed from crates/libsyntax2/fuzz/fuzz_targets/parser.rs)4
-rw-r--r--crates/ra_syntax/src/algo/mod.rs (renamed from crates/libsyntax2/src/algo/mod.rs)0
-rw-r--r--crates/ra_syntax/src/algo/visit.rs (renamed from crates/libsyntax2/src/algo/visit.rs)0
-rw-r--r--crates/ra_syntax/src/algo/walk.rs (renamed from crates/libsyntax2/src/algo/walk.rs)0
-rw-r--r--crates/ra_syntax/src/ast/generated.rs (renamed from crates/libsyntax2/src/ast/generated.rs)0
-rw-r--r--crates/ra_syntax/src/ast/generated.rs.tera (renamed from crates/libsyntax2/src/ast/generated.rs.tera)0
-rw-r--r--crates/ra_syntax/src/ast/mod.rs (renamed from crates/libsyntax2/src/ast/mod.rs)0
-rw-r--r--crates/ra_syntax/src/grammar.ron (renamed from crates/libsyntax2/src/grammar.ron)0
-rw-r--r--crates/ra_syntax/src/grammar/attributes.rs (renamed from crates/libsyntax2/src/grammar/attributes.rs)0
-rw-r--r--crates/ra_syntax/src/grammar/expressions/atom.rs (renamed from crates/libsyntax2/src/grammar/expressions/atom.rs)0
-rw-r--r--crates/ra_syntax/src/grammar/expressions/mod.rs (renamed from crates/libsyntax2/src/grammar/expressions/mod.rs)0
-rw-r--r--crates/ra_syntax/src/grammar/items/consts.rs (renamed from crates/libsyntax2/src/grammar/items/consts.rs)0
-rw-r--r--crates/ra_syntax/src/grammar/items/mod.rs (renamed from crates/libsyntax2/src/grammar/items/mod.rs)0
-rw-r--r--crates/ra_syntax/src/grammar/items/nominal.rs (renamed from crates/libsyntax2/src/grammar/items/nominal.rs)0
-rw-r--r--crates/ra_syntax/src/grammar/items/traits.rs (renamed from crates/libsyntax2/src/grammar/items/traits.rs)0
-rw-r--r--crates/ra_syntax/src/grammar/items/use_item.rs (renamed from crates/libsyntax2/src/grammar/items/use_item.rs)0
-rw-r--r--crates/ra_syntax/src/grammar/mod.rs (renamed from crates/libsyntax2/src/grammar/mod.rs)0
-rw-r--r--crates/ra_syntax/src/grammar/params.rs (renamed from crates/libsyntax2/src/grammar/params.rs)0
-rw-r--r--crates/ra_syntax/src/grammar/paths.rs (renamed from crates/libsyntax2/src/grammar/paths.rs)0
-rw-r--r--crates/ra_syntax/src/grammar/patterns.rs (renamed from crates/libsyntax2/src/grammar/patterns.rs)0
-rw-r--r--crates/ra_syntax/src/grammar/type_args.rs (renamed from crates/libsyntax2/src/grammar/type_args.rs)0
-rw-r--r--crates/ra_syntax/src/grammar/type_params.rs (renamed from crates/libsyntax2/src/grammar/type_params.rs)0
-rw-r--r--crates/ra_syntax/src/grammar/types.rs (renamed from crates/libsyntax2/src/grammar/types.rs)0
-rw-r--r--crates/ra_syntax/src/lexer/classes.rs (renamed from crates/libsyntax2/src/lexer/classes.rs)0
-rw-r--r--crates/ra_syntax/src/lexer/comments.rs (renamed from crates/libsyntax2/src/lexer/comments.rs)0
-rw-r--r--crates/ra_syntax/src/lexer/mod.rs (renamed from crates/libsyntax2/src/lexer/mod.rs)0
-rw-r--r--crates/ra_syntax/src/lexer/numbers.rs (renamed from crates/libsyntax2/src/lexer/numbers.rs)0
-rw-r--r--crates/ra_syntax/src/lexer/ptr.rs (renamed from crates/libsyntax2/src/lexer/ptr.rs)0
-rw-r--r--crates/ra_syntax/src/lexer/strings.rs (renamed from crates/libsyntax2/src/lexer/strings.rs)0
-rw-r--r--crates/ra_syntax/src/lib.rs (renamed from crates/libsyntax2/src/lib.rs)0
-rw-r--r--crates/ra_syntax/src/parser_api.rs (renamed from crates/libsyntax2/src/parser_api.rs)0
-rw-r--r--crates/ra_syntax/src/parser_impl/event.rs (renamed from crates/libsyntax2/src/parser_impl/event.rs)0
-rw-r--r--crates/ra_syntax/src/parser_impl/input.rs (renamed from crates/libsyntax2/src/parser_impl/input.rs)0
-rw-r--r--crates/ra_syntax/src/parser_impl/mod.rs (renamed from crates/libsyntax2/src/parser_impl/mod.rs)0
-rw-r--r--crates/ra_syntax/src/reparsing.rs (renamed from crates/libsyntax2/src/reparsing.rs)0
-rw-r--r--crates/ra_syntax/src/syntax_kinds/generated.rs (renamed from crates/libsyntax2/src/syntax_kinds/generated.rs)0
-rw-r--r--crates/ra_syntax/src/syntax_kinds/generated.rs.tera (renamed from crates/libsyntax2/src/syntax_kinds/generated.rs.tera)0
-rw-r--r--crates/ra_syntax/src/syntax_kinds/mod.rs (renamed from crates/libsyntax2/src/syntax_kinds/mod.rs)0
-rw-r--r--crates/ra_syntax/src/text_utils.rs (renamed from crates/libsyntax2/src/text_utils.rs)0
-rw-r--r--crates/ra_syntax/src/token_set.rs (renamed from crates/libsyntax2/src/token_set.rs)0
-rw-r--r--crates/ra_syntax/src/utils.rs (renamed from crates/libsyntax2/src/utils.rs)0
-rw-r--r--crates/ra_syntax/src/yellow/builder.rs (renamed from crates/libsyntax2/src/yellow/builder.rs)0
-rw-r--r--crates/ra_syntax/src/yellow/green.rs (renamed from crates/libsyntax2/src/yellow/green.rs)0
-rw-r--r--crates/ra_syntax/src/yellow/mod.rs (renamed from crates/libsyntax2/src/yellow/mod.rs)0
-rw-r--r--crates/ra_syntax/src/yellow/red.rs (renamed from crates/libsyntax2/src/yellow/red.rs)0
-rw-r--r--crates/ra_syntax/src/yellow/syntax.rs (renamed from crates/libsyntax2/src/yellow/syntax.rs)0
-rw-r--r--crates/ra_syntax/src/yellow/syntax_text.rs (renamed from crates/libsyntax2/src/yellow/syntax_text.rs)0
-rw-r--r--crates/ra_syntax/tests/data/lexer/00012_block_comment.rs (renamed from crates/libsyntax2/tests/data/lexer/00012_block_comment.rs)0
-rw-r--r--crates/ra_syntax/tests/data/lexer/00012_block_comment.txt (renamed from crates/libsyntax2/tests/data/lexer/00012_block_comment.txt)0
-rw-r--r--crates/ra_syntax/tests/data/lexer/0001_hello.rs (renamed from crates/libsyntax2/tests/data/lexer/0001_hello.rs)0
-rw-r--r--crates/ra_syntax/tests/data/lexer/0001_hello.txt (renamed from crates/libsyntax2/tests/data/lexer/0001_hello.txt)0
-rw-r--r--crates/ra_syntax/tests/data/lexer/0002_whitespace.rs (renamed from crates/libsyntax2/tests/data/lexer/0002_whitespace.rs)0
-rw-r--r--crates/ra_syntax/tests/data/lexer/0002_whitespace.txt (renamed from crates/libsyntax2/tests/data/lexer/0002_whitespace.txt)0
-rw-r--r--crates/ra_syntax/tests/data/lexer/0003_ident.rs (renamed from crates/libsyntax2/tests/data/lexer/0003_ident.rs)0
-rw-r--r--crates/ra_syntax/tests/data/lexer/0003_ident.txt (renamed from crates/libsyntax2/tests/data/lexer/0003_ident.txt)0
-rw-r--r--crates/ra_syntax/tests/data/lexer/0004_numbers.rs (renamed from crates/libsyntax2/tests/data/lexer/0004_numbers.rs)0
-rw-r--r--crates/ra_syntax/tests/data/lexer/0004_numbers.txt (renamed from crates/libsyntax2/tests/data/lexer/0004_numbers.txt)0
-rw-r--r--crates/ra_syntax/tests/data/lexer/0005_symbols.rs (renamed from crates/libsyntax2/tests/data/lexer/0005_symbols.rs)0
-rw-r--r--crates/ra_syntax/tests/data/lexer/0005_symbols.txt (renamed from crates/libsyntax2/tests/data/lexer/0005_symbols.txt)0
-rw-r--r--crates/ra_syntax/tests/data/lexer/0006_chars.rs (renamed from crates/libsyntax2/tests/data/lexer/0006_chars.rs)0
-rw-r--r--crates/ra_syntax/tests/data/lexer/0006_chars.txt (renamed from crates/libsyntax2/tests/data/lexer/0006_chars.txt)0
-rw-r--r--crates/ra_syntax/tests/data/lexer/0007_lifetimes.rs (renamed from crates/libsyntax2/tests/data/lexer/0007_lifetimes.rs)0
-rw-r--r--crates/ra_syntax/tests/data/lexer/0007_lifetimes.txt (renamed from crates/libsyntax2/tests/data/lexer/0007_lifetimes.txt)0
-rw-r--r--crates/ra_syntax/tests/data/lexer/0008_byte_strings.rs (renamed from crates/libsyntax2/tests/data/lexer/0008_byte_strings.rs)0
-rw-r--r--crates/ra_syntax/tests/data/lexer/0008_byte_strings.txt (renamed from crates/libsyntax2/tests/data/lexer/0008_byte_strings.txt)0
-rw-r--r--crates/ra_syntax/tests/data/lexer/0009_strings.rs (renamed from crates/libsyntax2/tests/data/lexer/0009_strings.rs)0
-rw-r--r--crates/ra_syntax/tests/data/lexer/0009_strings.txt (renamed from crates/libsyntax2/tests/data/lexer/0009_strings.txt)0
-rw-r--r--crates/ra_syntax/tests/data/lexer/0010_comments.rs (renamed from crates/libsyntax2/tests/data/lexer/0010_comments.rs)0
-rw-r--r--crates/ra_syntax/tests/data/lexer/0010_comments.txt (renamed from crates/libsyntax2/tests/data/lexer/0010_comments.txt)0
-rw-r--r--crates/ra_syntax/tests/data/lexer/0011_keywords.rs (renamed from crates/libsyntax2/tests/data/lexer/0011_keywords.rs)0
-rw-r--r--crates/ra_syntax/tests/data/lexer/0011_keywords.txt (renamed from crates/libsyntax2/tests/data/lexer/0011_keywords.txt)0
-rw-r--r--crates/ra_syntax/tests/data/lexer/0013_raw_strings.rs (renamed from crates/libsyntax2/tests/data/lexer/0013_raw_strings.rs)0
-rw-r--r--crates/ra_syntax/tests/data/lexer/0013_raw_strings.txt (renamed from crates/libsyntax2/tests/data/lexer/0013_raw_strings.txt)0
-rw-r--r--crates/ra_syntax/tests/data/lexer/0014_unclosed_char.rs (renamed from crates/libsyntax2/tests/data/lexer/0014_unclosed_char.rs)0
-rw-r--r--crates/ra_syntax/tests/data/lexer/0014_unclosed_char.txt (renamed from crates/libsyntax2/tests/data/lexer/0014_unclosed_char.txt)0
-rw-r--r--crates/ra_syntax/tests/data/lexer/0015_unclosed_string.rs (renamed from crates/libsyntax2/tests/data/lexer/0015_unclosed_string.rs)0
-rw-r--r--crates/ra_syntax/tests/data/lexer/0015_unclosed_string.txt (renamed from crates/libsyntax2/tests/data/lexer/0015_unclosed_string.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/err/0000_struct_field_missing_comma.rs (renamed from crates/libsyntax2/tests/data/parser/err/0000_struct_field_missing_comma.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/err/0000_struct_field_missing_comma.txt (renamed from crates/libsyntax2/tests/data/parser/err/0000_struct_field_missing_comma.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/err/0001_item_recovery_in_file.rs (renamed from crates/libsyntax2/tests/data/parser/err/0001_item_recovery_in_file.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/err/0001_item_recovery_in_file.txt (renamed from crates/libsyntax2/tests/data/parser/err/0001_item_recovery_in_file.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/err/0002_duplicate_shebang.rs (renamed from crates/libsyntax2/tests/data/parser/err/0002_duplicate_shebang.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/err/0002_duplicate_shebang.txt (renamed from crates/libsyntax2/tests/data/parser/err/0002_duplicate_shebang.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/err/0003_C++_semicolon.rs (renamed from crates/libsyntax2/tests/data/parser/err/0003_C++_semicolon.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/err/0003_C++_semicolon.txt (renamed from crates/libsyntax2/tests/data/parser/err/0003_C++_semicolon.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/err/0004_use_path_bad_segment.rs (renamed from crates/libsyntax2/tests/data/parser/err/0004_use_path_bad_segment.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/err/0004_use_path_bad_segment.txt (renamed from crates/libsyntax2/tests/data/parser/err/0004_use_path_bad_segment.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/err/0005_attribute_recover.rs (renamed from crates/libsyntax2/tests/data/parser/err/0005_attribute_recover.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/err/0005_attribute_recover.txt (renamed from crates/libsyntax2/tests/data/parser/err/0005_attribute_recover.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/err/0006_named_field_recovery.rs (renamed from crates/libsyntax2/tests/data/parser/err/0006_named_field_recovery.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/err/0006_named_field_recovery.txt (renamed from crates/libsyntax2/tests/data/parser/err/0006_named_field_recovery.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/err/0007_stray_curly_in_file.rs (renamed from crates/libsyntax2/tests/data/parser/err/0007_stray_curly_in_file.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/err/0007_stray_curly_in_file.txt (renamed from crates/libsyntax2/tests/data/parser/err/0007_stray_curly_in_file.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/err/0008_item_block_recovery.rs (renamed from crates/libsyntax2/tests/data/parser/err/0008_item_block_recovery.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/err/0008_item_block_recovery.txt (renamed from crates/libsyntax2/tests/data/parser/err/0008_item_block_recovery.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/err/0009_broken_struct_type_parameter.rs (renamed from crates/libsyntax2/tests/data/parser/err/0009_broken_struct_type_parameter.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/err/0009_broken_struct_type_parameter.txt (renamed from crates/libsyntax2/tests/data/parser/err/0009_broken_struct_type_parameter.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/err/0010_unsafe_lambda_block.rs (renamed from crates/libsyntax2/tests/data/parser/err/0010_unsafe_lambda_block.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/err/0010_unsafe_lambda_block.txt (renamed from crates/libsyntax2/tests/data/parser/err/0010_unsafe_lambda_block.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/err/0011_extern_struct.rs (renamed from crates/libsyntax2/tests/data/parser/err/0011_extern_struct.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/err/0011_extern_struct.txt (renamed from crates/libsyntax2/tests/data/parser/err/0011_extern_struct.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/err/0012_broken_lambda.txt (renamed from crates/libsyntax2/tests/data/parser/err/0012_broken_lambda.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/err/0013_invalid_type.rs (renamed from crates/libsyntax2/tests/data/parser/err/0013_invalid_type.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/err/0013_invalid_type.txt (renamed from crates/libsyntax2/tests/data/parser/err/0013_invalid_type.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/err/0014_where_no_bounds.rs (renamed from crates/libsyntax2/tests/data/parser/err/0014_where_no_bounds.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/err/0014_where_no_bounds.txt (renamed from crates/libsyntax2/tests/data/parser/err/0014_where_no_bounds.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/err/0015_curly_in_params.rs (renamed from crates/libsyntax2/tests/data/parser/err/0015_curly_in_params.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/err/0015_curly_in_params.txt (renamed from crates/libsyntax2/tests/data/parser/err/0015_curly_in_params.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/err/0016_missing_semi.rs (renamed from crates/libsyntax2/tests/data/parser/err/0016_missing_semi.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/err/0016_missing_semi.txt (renamed from crates/libsyntax2/tests/data/parser/err/0016_missing_semi.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/err/0017_incomplete_binexpr.rs (renamed from crates/libsyntax2/tests/data/parser/err/0017_incomplete_binexpr.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/err/0017_incomplete_binexpr.txt (renamed from crates/libsyntax2/tests/data/parser/err/0017_incomplete_binexpr.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/err/0018_incomplete_fn.rs (renamed from crates/libsyntax2/tests/data/parser/err/0018_incomplete_fn.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/err/0018_incomplete_fn.txt (renamed from crates/libsyntax2/tests/data/parser/err/0018_incomplete_fn.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/err/0019_let_recover.rs (renamed from crates/libsyntax2/tests/data/parser/err/0019_let_recover.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/err/0019_let_recover.txt (renamed from crates/libsyntax2/tests/data/parser/err/0019_let_recover.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/err/0020_fn_recover.rs (renamed from crates/libsyntax2/tests/data/parser/err/0020_fn_recover.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/err/0020_fn_recover.txt (renamed from crates/libsyntax2/tests/data/parser/err/0020_fn_recover.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/err/0021_incomplete_param.rs (renamed from crates/libsyntax2/tests/data/parser/err/0021_incomplete_param.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/err/0021_incomplete_param.txt (renamed from crates/libsyntax2/tests/data/parser/err/0021_incomplete_param.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/err/0022_bad_exprs.rs (renamed from crates/libsyntax2/tests/data/parser/err/0022_bad_exprs.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/err/0022_bad_exprs.txt (renamed from crates/libsyntax2/tests/data/parser/err/0022_bad_exprs.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/err/0023_mismatched_paren.rs (renamed from crates/libsyntax2/tests/data/parser/err/0023_mismatched_paren.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/err/0023_mismatched_paren.txt (renamed from crates/libsyntax2/tests/data/parser/err/0023_mismatched_paren.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/err/0024_many_type_parens.rs (renamed from crates/libsyntax2/tests/data/parser/err/0024_many_type_parens.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/err/0024_many_type_parens.txt (renamed from crates/libsyntax2/tests/data/parser/err/0024_many_type_parens.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/err/0025_nope.rs (renamed from crates/libsyntax2/tests/data/parser/err/0025_nope.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/err/0025_nope.txt (renamed from crates/libsyntax2/tests/data/parser/err/0025_nope.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/fuzz-failures/0000.rs (renamed from crates/libsyntax2/tests/data/parser/fuzz-failures/0000.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/fuzz-failures/0001.rs (renamed from crates/libsyntax2/tests/data/parser/fuzz-failures/0001.rs)2
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0001_const_unsafe_fn.rs (renamed from crates/libsyntax2/tests/data/parser/inline/0001_const_unsafe_fn.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0001_const_unsafe_fn.txt (renamed from crates/libsyntax2/tests/data/parser/inline/0001_const_unsafe_fn.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0002_const_fn.rs (renamed from crates/libsyntax2/tests/data/parser/inline/0002_const_fn.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0002_const_fn.txt (renamed from crates/libsyntax2/tests/data/parser/inline/0002_const_fn.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0003_extern_block.rs (renamed from crates/libsyntax2/tests/data/parser/inline/0003_extern_block.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0003_extern_block.txt (renamed from crates/libsyntax2/tests/data/parser/inline/0003_extern_block.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0004_extern_fn.rs (renamed from crates/libsyntax2/tests/data/parser/inline/0004_extern_fn.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0004_extern_fn.txt (renamed from crates/libsyntax2/tests/data/parser/inline/0004_extern_fn.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0005_extern_crate.rs (renamed from crates/libsyntax2/tests/data/parser/inline/0005_extern_crate.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0005_extern_crate.txt (renamed from crates/libsyntax2/tests/data/parser/inline/0005_extern_crate.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0007_unsafe_trait.rs (renamed from crates/libsyntax2/tests/data/parser/inline/0007_unsafe_trait.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0007_unsafe_trait.txt (renamed from crates/libsyntax2/tests/data/parser/inline/0007_unsafe_trait.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0008_unsafe_impl.rs (renamed from crates/libsyntax2/tests/data/parser/inline/0008_unsafe_impl.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0008_unsafe_impl.txt (renamed from crates/libsyntax2/tests/data/parser/inline/0008_unsafe_impl.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0009_unsafe_auto_trait.rs (renamed from crates/libsyntax2/tests/data/parser/inline/0009_unsafe_auto_trait.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0009_unsafe_auto_trait.txt (renamed from crates/libsyntax2/tests/data/parser/inline/0009_unsafe_auto_trait.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0010_unsafe_default_impl.rs (renamed from crates/libsyntax2/tests/data/parser/inline/0010_unsafe_default_impl.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0010_unsafe_default_impl.txt (renamed from crates/libsyntax2/tests/data/parser/inline/0010_unsafe_default_impl.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0011_unsafe_fn.rs (renamed from crates/libsyntax2/tests/data/parser/inline/0011_unsafe_fn.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0011_unsafe_fn.txt (renamed from crates/libsyntax2/tests/data/parser/inline/0011_unsafe_fn.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0012_unsafe_extern_fn.rs (renamed from crates/libsyntax2/tests/data/parser/inline/0012_unsafe_extern_fn.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0012_unsafe_extern_fn.txt (renamed from crates/libsyntax2/tests/data/parser/inline/0012_unsafe_extern_fn.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0013_unsafe_block_in_mod.rs (renamed from crates/libsyntax2/tests/data/parser/inline/0013_unsafe_block_in_mod.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0013_unsafe_block_in_mod.txt (renamed from crates/libsyntax2/tests/data/parser/inline/0013_unsafe_block_in_mod.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0014_type_item_type_params.rs (renamed from crates/libsyntax2/tests/data/parser/inline/0014_type_item_type_params.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0014_type_item_type_params.txt (renamed from crates/libsyntax2/tests/data/parser/inline/0014_type_item_type_params.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0015_type_item.rs (renamed from crates/libsyntax2/tests/data/parser/inline/0015_type_item.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0015_type_item.txt (renamed from crates/libsyntax2/tests/data/parser/inline/0015_type_item.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0016_type_item_where_clause.rs (renamed from crates/libsyntax2/tests/data/parser/inline/0016_type_item_where_clause.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0016_type_item_where_clause.txt (renamed from crates/libsyntax2/tests/data/parser/inline/0016_type_item_where_clause.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0017_paren_type.rs (renamed from crates/libsyntax2/tests/data/parser/inline/0017_paren_type.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0017_paren_type.txt (renamed from crates/libsyntax2/tests/data/parser/inline/0017_paren_type.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0018_unit_type.rs (renamed from crates/libsyntax2/tests/data/parser/inline/0018_unit_type.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0018_unit_type.txt (renamed from crates/libsyntax2/tests/data/parser/inline/0018_unit_type.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0019_singleton_tuple_type.rs (renamed from crates/libsyntax2/tests/data/parser/inline/0019_singleton_tuple_type.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0019_singleton_tuple_type.txt (renamed from crates/libsyntax2/tests/data/parser/inline/0019_singleton_tuple_type.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0020_never_type.rs (renamed from crates/libsyntax2/tests/data/parser/inline/0020_never_type.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0020_never_type.txt (renamed from crates/libsyntax2/tests/data/parser/inline/0020_never_type.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0021_pointer_type_no_mutability.rs (renamed from crates/libsyntax2/tests/data/parser/inline/0021_pointer_type_no_mutability.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0021_pointer_type_no_mutability.txt (renamed from crates/libsyntax2/tests/data/parser/inline/0021_pointer_type_no_mutability.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0022_pointer_type_mut.rs (renamed from crates/libsyntax2/tests/data/parser/inline/0022_pointer_type_mut.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0022_pointer_type_mut.txt (renamed from crates/libsyntax2/tests/data/parser/inline/0022_pointer_type_mut.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0023_array_type_missing_semi.rs (renamed from crates/libsyntax2/tests/data/parser/inline/0023_array_type_missing_semi.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0023_array_type_missing_semi.txt (renamed from crates/libsyntax2/tests/data/parser/inline/0023_array_type_missing_semi.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0024_array_type.rs (renamed from crates/libsyntax2/tests/data/parser/inline/0024_array_type.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0024_array_type.txt (renamed from crates/libsyntax2/tests/data/parser/inline/0024_array_type.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0025_slice_type.rs (renamed from crates/libsyntax2/tests/data/parser/inline/0025_slice_type.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0025_slice_type.txt (renamed from crates/libsyntax2/tests/data/parser/inline/0025_slice_type.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0026_reference_type;.rs (renamed from crates/libsyntax2/tests/data/parser/inline/0026_reference_type;.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0026_reference_type;.txt (renamed from crates/libsyntax2/tests/data/parser/inline/0026_reference_type;.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0027_placeholder_type.rs (renamed from crates/libsyntax2/tests/data/parser/inline/0027_placeholder_type.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0027_placeholder_type.txt (renamed from crates/libsyntax2/tests/data/parser/inline/0027_placeholder_type.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0028_fn_pointer_type.rs (renamed from crates/libsyntax2/tests/data/parser/inline/0028_fn_pointer_type.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0028_fn_pointer_type.txt (renamed from crates/libsyntax2/tests/data/parser/inline/0028_fn_pointer_type.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0029_fn_pointer_type_missing_fn.rs (renamed from crates/libsyntax2/tests/data/parser/inline/0029_fn_pointer_type_missing_fn.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0029_fn_pointer_type_missing_fn.txt (renamed from crates/libsyntax2/tests/data/parser/inline/0029_fn_pointer_type_missing_fn.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0030_fn_pointer_type_with_ret.rs (renamed from crates/libsyntax2/tests/data/parser/inline/0030_fn_pointer_type_with_ret.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0030_fn_pointer_type_with_ret.txt (renamed from crates/libsyntax2/tests/data/parser/inline/0030_fn_pointer_type_with_ret.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0031_for_type.rs (renamed from crates/libsyntax2/tests/data/parser/inline/0031_for_type.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0031_for_type.txt (renamed from crates/libsyntax2/tests/data/parser/inline/0031_for_type.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0032_path_type.rs (renamed from crates/libsyntax2/tests/data/parser/inline/0032_path_type.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0032_path_type.txt (renamed from crates/libsyntax2/tests/data/parser/inline/0032_path_type.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0034_bind_pat.rs (renamed from crates/libsyntax2/tests/data/parser/inline/0034_bind_pat.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0034_bind_pat.txt (renamed from crates/libsyntax2/tests/data/parser/inline/0034_bind_pat.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0035_ref_pat.rs (renamed from crates/libsyntax2/tests/data/parser/inline/0035_ref_pat.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0035_ref_pat.txt (renamed from crates/libsyntax2/tests/data/parser/inline/0035_ref_pat.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0036_placeholder_pat.rs (renamed from crates/libsyntax2/tests/data/parser/inline/0036_placeholder_pat.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0036_placeholder_pat.txt (renamed from crates/libsyntax2/tests/data/parser/inline/0036_placeholder_pat.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0037_crate_visibility.rs (renamed from crates/libsyntax2/tests/data/parser/inline/0037_crate_visibility.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0037_crate_visibility.txt (renamed from crates/libsyntax2/tests/data/parser/inline/0037_crate_visibility.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0038_function_ret_type.rs (renamed from crates/libsyntax2/tests/data/parser/inline/0038_function_ret_type.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0038_function_ret_type.txt (renamed from crates/libsyntax2/tests/data/parser/inline/0038_function_ret_type.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0039_path_expr.rs (renamed from crates/libsyntax2/tests/data/parser/inline/0039_path_expr.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0039_path_expr.txt (renamed from crates/libsyntax2/tests/data/parser/inline/0039_path_expr.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0040_expr_literals.rs (renamed from crates/libsyntax2/tests/data/parser/inline/0040_expr_literals.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0040_expr_literals.txt (renamed from crates/libsyntax2/tests/data/parser/inline/0040_expr_literals.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0041_type_param_bounds.rs (renamed from crates/libsyntax2/tests/data/parser/inline/0041_type_param_bounds.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0041_type_param_bounds.txt (renamed from crates/libsyntax2/tests/data/parser/inline/0041_type_param_bounds.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0042_type_param_default.rs (renamed from crates/libsyntax2/tests/data/parser/inline/0042_type_param_default.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0042_type_param_default.txt (renamed from crates/libsyntax2/tests/data/parser/inline/0042_type_param_default.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0043_call_expr.rs (renamed from crates/libsyntax2/tests/data/parser/inline/0043_call_expr.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0043_call_expr.txt (renamed from crates/libsyntax2/tests/data/parser/inline/0043_call_expr.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0044_ref_expr.rs (renamed from crates/libsyntax2/tests/data/parser/inline/0044_ref_expr.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0044_ref_expr.txt (renamed from crates/libsyntax2/tests/data/parser/inline/0044_ref_expr.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0045_block.rs (renamed from crates/libsyntax2/tests/data/parser/inline/0045_block.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0045_block.txt (renamed from crates/libsyntax2/tests/data/parser/inline/0045_block.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0046_default_impl.rs (renamed from crates/libsyntax2/tests/data/parser/inline/0046_default_impl.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0046_default_impl.txt (renamed from crates/libsyntax2/tests/data/parser/inline/0046_default_impl.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0047_impl_item.rs (renamed from crates/libsyntax2/tests/data/parser/inline/0047_impl_item.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0047_impl_item.txt (renamed from crates/libsyntax2/tests/data/parser/inline/0047_impl_item.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0048_impl_item_neg.rs (renamed from crates/libsyntax2/tests/data/parser/inline/0048_impl_item_neg.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0048_impl_item_neg.txt (renamed from crates/libsyntax2/tests/data/parser/inline/0048_impl_item_neg.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0049_trait_item_list.rs (renamed from crates/libsyntax2/tests/data/parser/inline/0049_trait_item_list.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0049_trait_item_list.txt (renamed from crates/libsyntax2/tests/data/parser/inline/0049_trait_item_list.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0050_let_stmt;.rs (renamed from crates/libsyntax2/tests/data/parser/inline/0050_let_stmt;.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0050_let_stmt;.txt (renamed from crates/libsyntax2/tests/data/parser/inline/0050_let_stmt;.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0051_method_call_expr.rs (renamed from crates/libsyntax2/tests/data/parser/inline/0051_method_call_expr.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0051_method_call_expr.txt (renamed from crates/libsyntax2/tests/data/parser/inline/0051_method_call_expr.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0052_field_expr.rs (renamed from crates/libsyntax2/tests/data/parser/inline/0052_field_expr.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0052_field_expr.txt (renamed from crates/libsyntax2/tests/data/parser/inline/0052_field_expr.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0053_block_items.rs (renamed from crates/libsyntax2/tests/data/parser/inline/0053_block_items.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0053_block_items.txt (renamed from crates/libsyntax2/tests/data/parser/inline/0053_block_items.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0054_field_pat_list.rs (renamed from crates/libsyntax2/tests/data/parser/inline/0054_field_pat_list.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0054_field_pat_list.txt (renamed from crates/libsyntax2/tests/data/parser/inline/0054_field_pat_list.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0055_self_param.rs (renamed from crates/libsyntax2/tests/data/parser/inline/0055_self_param.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0055_self_param.txt (renamed from crates/libsyntax2/tests/data/parser/inline/0055_self_param.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0056_trait_item.rs (renamed from crates/libsyntax2/tests/data/parser/inline/0056_trait_item.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0056_trait_item.txt (renamed from crates/libsyntax2/tests/data/parser/inline/0056_trait_item.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0057_auto_trait.rs (renamed from crates/libsyntax2/tests/data/parser/inline/0057_auto_trait.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0057_auto_trait.txt (renamed from crates/libsyntax2/tests/data/parser/inline/0057_auto_trait.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0058_type_arg.rs (renamed from crates/libsyntax2/tests/data/parser/inline/0058_type_arg.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0058_type_arg.txt (renamed from crates/libsyntax2/tests/data/parser/inline/0058_type_arg.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0059_function_where_clause.rs (renamed from crates/libsyntax2/tests/data/parser/inline/0059_function_where_clause.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0059_function_where_clause.txt (renamed from crates/libsyntax2/tests/data/parser/inline/0059_function_where_clause.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0060_function_type_params.rs (renamed from crates/libsyntax2/tests/data/parser/inline/0060_function_type_params.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0060_function_type_params.txt (renamed from crates/libsyntax2/tests/data/parser/inline/0060_function_type_params.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0061_struct_lit.rs (renamed from crates/libsyntax2/tests/data/parser/inline/0061_struct_lit.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0061_struct_lit.txt (renamed from crates/libsyntax2/tests/data/parser/inline/0061_struct_lit.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0063_impl_trait_type.rs (renamed from crates/libsyntax2/tests/data/parser/inline/0063_impl_trait_type.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0063_impl_trait_type.txt (renamed from crates/libsyntax2/tests/data/parser/inline/0063_impl_trait_type.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0063_lambda_expr.txt (renamed from crates/libsyntax2/tests/data/parser/inline/0063_lambda_expr.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0064_param_list.rs (renamed from crates/libsyntax2/tests/data/parser/inline/0064_param_list.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0064_param_list.txt (renamed from crates/libsyntax2/tests/data/parser/inline/0064_param_list.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0065_if_expr.rs (renamed from crates/libsyntax2/tests/data/parser/inline/0065_if_expr.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0065_if_expr.txt (renamed from crates/libsyntax2/tests/data/parser/inline/0065_if_expr.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0066_lambda_expr.rs (renamed from crates/libsyntax2/tests/data/parser/inline/0066_lambda_expr.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0066_lambda_expr.txt (renamed from crates/libsyntax2/tests/data/parser/inline/0066_lambda_expr.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0067_block_expr.rs (renamed from crates/libsyntax2/tests/data/parser/inline/0067_block_expr.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0067_block_expr.txt (renamed from crates/libsyntax2/tests/data/parser/inline/0067_block_expr.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0068_pub_expr.rs (renamed from crates/libsyntax2/tests/data/parser/inline/0068_pub_expr.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0068_pub_expr.txt (renamed from crates/libsyntax2/tests/data/parser/inline/0068_pub_expr.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0068_return_expr.rs (renamed from crates/libsyntax2/tests/data/parser/inline/0068_return_expr.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0068_return_expr.txt (renamed from crates/libsyntax2/tests/data/parser/inline/0068_return_expr.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0069_match_arm.rs (renamed from crates/libsyntax2/tests/data/parser/inline/0069_match_arm.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0069_match_arm.txt (renamed from crates/libsyntax2/tests/data/parser/inline/0069_match_arm.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0070_match_expr.rs (renamed from crates/libsyntax2/tests/data/parser/inline/0070_match_expr.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0070_match_expr.txt (renamed from crates/libsyntax2/tests/data/parser/inline/0070_match_expr.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0071_tuple_pat_fields.rs (renamed from crates/libsyntax2/tests/data/parser/inline/0071_tuple_pat_fields.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0071_tuple_pat_fields.txt (renamed from crates/libsyntax2/tests/data/parser/inline/0071_tuple_pat_fields.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0072_path_part.rs (renamed from crates/libsyntax2/tests/data/parser/inline/0072_path_part.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0072_path_part.txt (renamed from crates/libsyntax2/tests/data/parser/inline/0072_path_part.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0073_impl_item_list.rs (renamed from crates/libsyntax2/tests/data/parser/inline/0073_impl_item_list.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0073_impl_item_list.txt (renamed from crates/libsyntax2/tests/data/parser/inline/0073_impl_item_list.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0074_unary_expr.rs (renamed from crates/libsyntax2/tests/data/parser/inline/0074_unary_expr.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0074_unary_expr.txt (renamed from crates/libsyntax2/tests/data/parser/inline/0074_unary_expr.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0075_try_expr.rs (renamed from crates/libsyntax2/tests/data/parser/inline/0075_try_expr.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0075_try_expr.txt (renamed from crates/libsyntax2/tests/data/parser/inline/0075_try_expr.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0076_cond.rs (renamed from crates/libsyntax2/tests/data/parser/inline/0076_cond.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0076_cond.txt (renamed from crates/libsyntax2/tests/data/parser/inline/0076_cond.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0077_while_expr.rs (renamed from crates/libsyntax2/tests/data/parser/inline/0077_while_expr.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0077_while_expr.txt (renamed from crates/libsyntax2/tests/data/parser/inline/0077_while_expr.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0078_mod_contents.rs (renamed from crates/libsyntax2/tests/data/parser/inline/0078_mod_contents.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0078_mod_contents.txt (renamed from crates/libsyntax2/tests/data/parser/inline/0078_mod_contents.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0079_cast_expr.rs (renamed from crates/libsyntax2/tests/data/parser/inline/0079_cast_expr.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0079_cast_expr.txt (renamed from crates/libsyntax2/tests/data/parser/inline/0079_cast_expr.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0080_tuple_expr.rs (renamed from crates/libsyntax2/tests/data/parser/inline/0080_tuple_expr.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0080_tuple_expr.txt (renamed from crates/libsyntax2/tests/data/parser/inline/0080_tuple_expr.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0081_index_expr.rs (renamed from crates/libsyntax2/tests/data/parser/inline/0081_index_expr.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0081_index_expr.txt (renamed from crates/libsyntax2/tests/data/parser/inline/0081_index_expr.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0082_tuple_pat.rs (renamed from crates/libsyntax2/tests/data/parser/inline/0082_tuple_pat.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0082_tuple_pat.txt (renamed from crates/libsyntax2/tests/data/parser/inline/0082_tuple_pat.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0083_postfix_range.rs (renamed from crates/libsyntax2/tests/data/parser/inline/0083_postfix_range.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0083_postfix_range.txt (renamed from crates/libsyntax2/tests/data/parser/inline/0083_postfix_range.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0084_loop_expr.rs (renamed from crates/libsyntax2/tests/data/parser/inline/0084_loop_expr.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0084_loop_expr.txt (renamed from crates/libsyntax2/tests/data/parser/inline/0084_loop_expr.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0085_for_expr.rs (renamed from crates/libsyntax2/tests/data/parser/inline/0085_for_expr.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0085_for_expr.txt (renamed from crates/libsyntax2/tests/data/parser/inline/0085_for_expr.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0085_match_arms_commas.rs (renamed from crates/libsyntax2/tests/data/parser/inline/0085_match_arms_commas.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0085_match_arms_commas.txt (renamed from crates/libsyntax2/tests/data/parser/inline/0085_match_arms_commas.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0086_array_expr.rs (renamed from crates/libsyntax2/tests/data/parser/inline/0086_array_expr.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0086_array_expr.txt (renamed from crates/libsyntax2/tests/data/parser/inline/0086_array_expr.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0086_no_semi_after_block.rs (renamed from crates/libsyntax2/tests/data/parser/inline/0086_no_semi_after_block.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0086_no_semi_after_block.txt (renamed from crates/libsyntax2/tests/data/parser/inline/0086_no_semi_after_block.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0087_stmt_postfix_expr_ambiguity.rs (renamed from crates/libsyntax2/tests/data/parser/inline/0087_stmt_postfix_expr_ambiguity.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0087_stmt_postfix_expr_ambiguity.txt (renamed from crates/libsyntax2/tests/data/parser/inline/0087_stmt_postfix_expr_ambiguity.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0088_stmt_bin_expr_ambiguity.rs (renamed from crates/libsyntax2/tests/data/parser/inline/0088_stmt_bin_expr_ambiguity.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0088_stmt_bin_expr_ambiguity.txt (renamed from crates/libsyntax2/tests/data/parser/inline/0088_stmt_bin_expr_ambiguity.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0089_slice_pat.rs (renamed from crates/libsyntax2/tests/data/parser/inline/0089_slice_pat.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0089_slice_pat.txt (renamed from crates/libsyntax2/tests/data/parser/inline/0089_slice_pat.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0091_fn_decl.rs (renamed from crates/libsyntax2/tests/data/parser/inline/0091_fn_decl.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0091_fn_decl.txt (renamed from crates/libsyntax2/tests/data/parser/inline/0091_fn_decl.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0092_literal_pattern.rs (renamed from crates/libsyntax2/tests/data/parser/inline/0092_literal_pattern.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0092_literal_pattern.txt (renamed from crates/libsyntax2/tests/data/parser/inline/0092_literal_pattern.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0093_path_fn_trait_args.rs (renamed from crates/libsyntax2/tests/data/parser/inline/0093_path_fn_trait_args.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0093_path_fn_trait_args.txt (renamed from crates/libsyntax2/tests/data/parser/inline/0093_path_fn_trait_args.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0094_range_pat.rs (renamed from crates/libsyntax2/tests/data/parser/inline/0094_range_pat.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0094_range_pat.txt (renamed from crates/libsyntax2/tests/data/parser/inline/0094_range_pat.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0095_path_type_with_bounds.rs (renamed from crates/libsyntax2/tests/data/parser/inline/0095_path_type_with_bounds.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0095_path_type_with_bounds.txt (renamed from crates/libsyntax2/tests/data/parser/inline/0095_path_type_with_bounds.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0096_value_parameters_no_patterns.rs (renamed from crates/libsyntax2/tests/data/parser/inline/0096_value_parameters_no_patterns.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0096_value_parameters_no_patterns.txt (renamed from crates/libsyntax2/tests/data/parser/inline/0096_value_parameters_no_patterns.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0097_param_list_opt_patterns.rs (renamed from crates/libsyntax2/tests/data/parser/inline/0097_param_list_opt_patterns.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0097_param_list_opt_patterns.txt (renamed from crates/libsyntax2/tests/data/parser/inline/0097_param_list_opt_patterns.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0098_where_clause.rs (renamed from crates/libsyntax2/tests/data/parser/inline/0098_where_clause.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0098_where_clause.txt (renamed from crates/libsyntax2/tests/data/parser/inline/0098_where_clause.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0099_crate_keyword_vis.rs (renamed from crates/libsyntax2/tests/data/parser/inline/0099_crate_keyword_vis.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0099_crate_keyword_vis.txt (renamed from crates/libsyntax2/tests/data/parser/inline/0099_crate_keyword_vis.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0100_dyn_trait_type.rs (renamed from crates/libsyntax2/tests/data/parser/inline/0100_dyn_trait_type.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0100_dyn_trait_type.txt (renamed from crates/libsyntax2/tests/data/parser/inline/0100_dyn_trait_type.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0101_qual_paths.rs (renamed from crates/libsyntax2/tests/data/parser/inline/0101_qual_paths.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0101_qual_paths.txt (renamed from crates/libsyntax2/tests/data/parser/inline/0101_qual_paths.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0102_full_range_expr.rs (renamed from crates/libsyntax2/tests/data/parser/inline/0102_full_range_expr.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0102_full_range_expr.txt (renamed from crates/libsyntax2/tests/data/parser/inline/0102_full_range_expr.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0103_field_attrs.rs (renamed from crates/libsyntax2/tests/data/parser/inline/0103_field_attrs.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0103_field_attrs.txt (renamed from crates/libsyntax2/tests/data/parser/inline/0103_field_attrs.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0104_arb_self_types.rs (renamed from crates/libsyntax2/tests/data/parser/inline/0104_arb_self_types.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0104_arb_self_types.txt (renamed from crates/libsyntax2/tests/data/parser/inline/0104_arb_self_types.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0105_continue_expr.rs (renamed from crates/libsyntax2/tests/data/parser/inline/0105_continue_expr.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0105_continue_expr.txt (renamed from crates/libsyntax2/tests/data/parser/inline/0105_continue_expr.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0106_break_expr.rs (renamed from crates/libsyntax2/tests/data/parser/inline/0106_break_expr.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0106_break_expr.txt (renamed from crates/libsyntax2/tests/data/parser/inline/0106_break_expr.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0107_label.rs (renamed from crates/libsyntax2/tests/data/parser/inline/0107_label.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0107_label.txt (renamed from crates/libsyntax2/tests/data/parser/inline/0107_label.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0108_misplaced_label_err.rs (renamed from crates/libsyntax2/tests/data/parser/inline/0108_misplaced_label_err.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0108_misplaced_label_err.txt (renamed from crates/libsyntax2/tests/data/parser/inline/0108_misplaced_label_err.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0109_struct_items.rs (renamed from crates/libsyntax2/tests/data/parser/inline/0109_struct_items.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0109_struct_items.txt (renamed from crates/libsyntax2/tests/data/parser/inline/0109_struct_items.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0110_union_items.rs (renamed from crates/libsyntax2/tests/data/parser/inline/0110_union_items.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/inline/0110_union_items.txt (renamed from crates/libsyntax2/tests/data/parser/inline/0110_union_items.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/ok/0000_empty.rs (renamed from crates/libsyntax2/tests/data/parser/ok/0000_empty.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/ok/0000_empty.txt (renamed from crates/libsyntax2/tests/data/parser/ok/0000_empty.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/ok/0001_struct_item.rs (renamed from crates/libsyntax2/tests/data/parser/ok/0001_struct_item.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/ok/0001_struct_item.txt (renamed from crates/libsyntax2/tests/data/parser/ok/0001_struct_item.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/ok/0002_struct_item_field.rs (renamed from crates/libsyntax2/tests/data/parser/ok/0002_struct_item_field.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/ok/0002_struct_item_field.txt (renamed from crates/libsyntax2/tests/data/parser/ok/0002_struct_item_field.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/ok/0004_file_shebang.rs (renamed from crates/libsyntax2/tests/data/parser/ok/0004_file_shebang.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/ok/0004_file_shebang.txt (renamed from crates/libsyntax2/tests/data/parser/ok/0004_file_shebang.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/ok/0005_fn_item.rs (renamed from crates/libsyntax2/tests/data/parser/ok/0005_fn_item.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/ok/0005_fn_item.txt (renamed from crates/libsyntax2/tests/data/parser/ok/0005_fn_item.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/ok/0006_inner_attributes.rs (renamed from crates/libsyntax2/tests/data/parser/ok/0006_inner_attributes.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/ok/0006_inner_attributes.txt (renamed from crates/libsyntax2/tests/data/parser/ok/0006_inner_attributes.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/ok/0007_extern_crate.rs (renamed from crates/libsyntax2/tests/data/parser/ok/0007_extern_crate.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/ok/0007_extern_crate.txt (renamed from crates/libsyntax2/tests/data/parser/ok/0007_extern_crate.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/ok/0008_mod_item.rs (renamed from crates/libsyntax2/tests/data/parser/ok/0008_mod_item.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/ok/0008_mod_item.txt (renamed from crates/libsyntax2/tests/data/parser/ok/0008_mod_item.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/ok/0009_use_item.rs (renamed from crates/libsyntax2/tests/data/parser/ok/0009_use_item.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/ok/0009_use_item.txt (renamed from crates/libsyntax2/tests/data/parser/ok/0009_use_item.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/ok/0010_use_path_segments.rs (renamed from crates/libsyntax2/tests/data/parser/ok/0010_use_path_segments.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/ok/0010_use_path_segments.txt (renamed from crates/libsyntax2/tests/data/parser/ok/0010_use_path_segments.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/ok/0011_outer_attribute.rs (renamed from crates/libsyntax2/tests/data/parser/ok/0011_outer_attribute.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/ok/0011_outer_attribute.txt (renamed from crates/libsyntax2/tests/data/parser/ok/0011_outer_attribute.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/ok/0012_visibility.rs (renamed from crates/libsyntax2/tests/data/parser/ok/0012_visibility.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/ok/0012_visibility.txt (renamed from crates/libsyntax2/tests/data/parser/ok/0012_visibility.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/ok/0013_use_path_self_super.rs (renamed from crates/libsyntax2/tests/data/parser/ok/0013_use_path_self_super.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/ok/0013_use_path_self_super.txt (renamed from crates/libsyntax2/tests/data/parser/ok/0013_use_path_self_super.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/ok/0014_use_tree.rs (renamed from crates/libsyntax2/tests/data/parser/ok/0014_use_tree.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/ok/0014_use_tree.txt (renamed from crates/libsyntax2/tests/data/parser/ok/0014_use_tree.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/ok/0015_use_tree.rs (renamed from crates/libsyntax2/tests/data/parser/ok/0015_use_tree.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/ok/0015_use_tree.txt (renamed from crates/libsyntax2/tests/data/parser/ok/0015_use_tree.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/ok/0016_struct_flavors.rs (renamed from crates/libsyntax2/tests/data/parser/ok/0016_struct_flavors.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/ok/0016_struct_flavors.txt (renamed from crates/libsyntax2/tests/data/parser/ok/0016_struct_flavors.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/ok/0017_attr_trailing_comma.rs (renamed from crates/libsyntax2/tests/data/parser/ok/0017_attr_trailing_comma.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/ok/0017_attr_trailing_comma.txt (renamed from crates/libsyntax2/tests/data/parser/ok/0017_attr_trailing_comma.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/ok/0018_struct_type_params.rs (renamed from crates/libsyntax2/tests/data/parser/ok/0018_struct_type_params.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/ok/0018_struct_type_params.txt (renamed from crates/libsyntax2/tests/data/parser/ok/0018_struct_type_params.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/ok/0019_enums.rs (renamed from crates/libsyntax2/tests/data/parser/ok/0019_enums.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/ok/0019_enums.txt (renamed from crates/libsyntax2/tests/data/parser/ok/0019_enums.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/ok/0020_type_param_bounds.rs (renamed from crates/libsyntax2/tests/data/parser/ok/0020_type_param_bounds.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/ok/0020_type_param_bounds.txt (renamed from crates/libsyntax2/tests/data/parser/ok/0020_type_param_bounds.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/ok/0021_extern_fn.rs (renamed from crates/libsyntax2/tests/data/parser/ok/0021_extern_fn.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/ok/0021_extern_fn.txt (renamed from crates/libsyntax2/tests/data/parser/ok/0021_extern_fn.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/ok/0022_empty_extern_block.rs (renamed from crates/libsyntax2/tests/data/parser/ok/0022_empty_extern_block.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/ok/0022_empty_extern_block.txt (renamed from crates/libsyntax2/tests/data/parser/ok/0022_empty_extern_block.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/ok/0023_static_items.rs (renamed from crates/libsyntax2/tests/data/parser/ok/0023_static_items.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/ok/0023_static_items.txt (renamed from crates/libsyntax2/tests/data/parser/ok/0023_static_items.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/ok/0024_const_item.rs (renamed from crates/libsyntax2/tests/data/parser/ok/0024_const_item.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/ok/0024_const_item.txt (renamed from crates/libsyntax2/tests/data/parser/ok/0024_const_item.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/ok/0025_extern_fn_in_block.rs (renamed from crates/libsyntax2/tests/data/parser/ok/0025_extern_fn_in_block.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/ok/0025_extern_fn_in_block.txt (renamed from crates/libsyntax2/tests/data/parser/ok/0025_extern_fn_in_block.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/ok/0026_const_fn_in_block.rs (renamed from crates/libsyntax2/tests/data/parser/ok/0026_const_fn_in_block.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/ok/0026_const_fn_in_block.txt (renamed from crates/libsyntax2/tests/data/parser/ok/0026_const_fn_in_block.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/ok/0027_unsafe_fn_in_block.rs (renamed from crates/libsyntax2/tests/data/parser/ok/0027_unsafe_fn_in_block.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/ok/0027_unsafe_fn_in_block.txt (renamed from crates/libsyntax2/tests/data/parser/ok/0027_unsafe_fn_in_block.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/ok/0028_operator_binding_power.rs (renamed from crates/libsyntax2/tests/data/parser/ok/0028_operator_binding_power.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/ok/0028_operator_binding_power.txt (renamed from crates/libsyntax2/tests/data/parser/ok/0028_operator_binding_power.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/ok/0029_range_forms.rs (renamed from crates/libsyntax2/tests/data/parser/ok/0029_range_forms.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/ok/0029_range_forms.txt (renamed from crates/libsyntax2/tests/data/parser/ok/0029_range_forms.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/ok/0030_traits.rs (renamed from crates/libsyntax2/tests/data/parser/ok/0030_traits.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/ok/0030_traits.txt (renamed from crates/libsyntax2/tests/data/parser/ok/0030_traits.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/ok/0031_extern.rs (renamed from crates/libsyntax2/tests/data/parser/ok/0031_extern.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/ok/0031_extern.txt (renamed from crates/libsyntax2/tests/data/parser/ok/0031_extern.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/ok/0032_where_for.rs (renamed from crates/libsyntax2/tests/data/parser/ok/0032_where_for.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/ok/0032_where_for.txt (renamed from crates/libsyntax2/tests/data/parser/ok/0032_where_for.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/ok/0033_label_break.rs (renamed from crates/libsyntax2/tests/data/parser/ok/0033_label_break.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/ok/0033_label_break.txt (renamed from crates/libsyntax2/tests/data/parser/ok/0033_label_break.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/ok/0034_macro_2.0.rs (renamed from crates/libsyntax2/tests/data/parser/ok/0034_macro_2.0.rs)0
-rw-r--r--crates/ra_syntax/tests/data/parser/ok/0034_macro_2.0.txt (renamed from crates/libsyntax2/tests/data/parser/ok/0034_macro_2.0.txt)0
-rw-r--r--crates/ra_syntax/tests/data/parser/ok/0034_macro_stuck.txt (renamed from crates/libsyntax2/tests/data/parser/ok/0034_macro_stuck.txt)0
-rw-r--r--crates/ra_syntax/tests/test.rs (renamed from crates/libsyntax2/tests/test/main.rs)10
-rw-r--r--crates/tools/src/main.rs26
-rw-r--r--editors/code/.gitignore (renamed from code/.gitignore)0
-rw-r--r--editors/code/.vscode/launch.json (renamed from code/.vscode/launch.json)0
-rw-r--r--editors/code/.vscode/settings.json (renamed from code/.vscode/settings.json)0
-rw-r--r--editors/code/.vscode/tasks.json (renamed from code/.vscode/tasks.json)0
-rw-r--r--editors/code/.vscodeignore (renamed from code/.vscodeignore)0
-rw-r--r--editors/code/package-lock.json (renamed from code/package-lock.json)145
-rw-r--r--editors/code/package.json (renamed from code/package.json)30
-rw-r--r--editors/code/src/extension.ts (renamed from code/src/extension.ts)26
-rw-r--r--editors/code/tsconfig.json (renamed from code/tsconfig.json)0
478 files changed, 219 insertions, 204 deletions
diff --git a/.cargo/config b/.cargo/config
index 0e9e0f387..767045bdb 100644
--- a/.cargo/config
+++ b/.cargo/config
@@ -1,7 +1,7 @@
1[alias] 1[alias]
2gen-kinds = "run --package tools -- gen-kinds" 2gen-kinds = "run --package tools -- gen-kinds"
3gen-tests = "run --package tools -- gen-tests" 3gen-tests = "run --package tools -- gen-tests"
4install-code = "run --package tools -- install-code" 4install-code = "run --package tools -- install-code"
5 5
6render-test = "run --package cli -- render-test" 6render-test = "run --package ra_cli -- render-test"
7parse = "run --package cli -- parse" 7parse = "run --package ra_cli -- parse"
diff --git a/crates/gen_lsp_server/Cargo.toml b/crates/gen_lsp_server/Cargo.toml
index b31884802..4eb508fc0 100644
--- a/crates/gen_lsp_server/Cargo.toml
+++ b/crates/gen_lsp_server/Cargo.toml
@@ -4,7 +4,7 @@ version = "0.1.0"
4authors = ["Aleksey Kladov <[email protected]>"] 4authors = ["Aleksey Kladov <[email protected]>"]
5 5
6[dependencies] 6[dependencies]
7languageserver-types = "0.49.0" 7languageserver-types = "0.50.0"
8log = "0.4.3" 8log = "0.4.3"
9 9
10failure = "0.1.2" 10failure = "0.1.2"
diff --git a/crates/libeditor/scope.rs b/crates/libeditor/scope.rs
deleted file mode 100644
index e69de29bb..000000000
--- a/crates/libeditor/scope.rs
+++ /dev/null
diff --git a/crates/libanalysis/Cargo.toml b/crates/ra_analysis/Cargo.toml
index 88f29d7c8..a30cdfc9c 100644
--- a/crates/libanalysis/Cargo.toml
+++ b/crates/ra_analysis/Cargo.toml
@@ -1,5 +1,5 @@
1[package] 1[package]
2name = "libanalysis" 2name = "ra_analysis"
3version = "0.1.0" 3version = "0.1.0"
4authors = ["Aleksey Kladov <[email protected]>"] 4authors = ["Aleksey Kladov <[email protected]>"]
5 5
@@ -12,8 +12,8 @@ once_cell = "0.1.5"
12rayon = "1.0.2" 12rayon = "1.0.2"
13fst = "0.3.1" 13fst = "0.3.1"
14im = "12.0.0" 14im = "12.0.0"
15libsyntax2 = { path = "../libsyntax2" } 15ra_syntax = { path = "../ra_syntax" }
16libeditor = { path = "../libeditor" } 16ra_editor = { path = "../ra_editor" }
17salsa = { path = "../salsa" } 17salsa = { path = "../salsa" }
18 18
19[dev-dependencies] 19[dev-dependencies]
diff --git a/crates/libanalysis/src/db/imp.rs b/crates/ra_analysis/src/db/imp.rs
index f26be1046..f26be1046 100644
--- a/crates/libanalysis/src/db/imp.rs
+++ b/crates/ra_analysis/src/db/imp.rs
diff --git a/crates/libanalysis/src/db/mod.rs b/crates/ra_analysis/src/db/mod.rs
index 22769d112..22769d112 100644
--- a/crates/libanalysis/src/db/mod.rs
+++ b/crates/ra_analysis/src/db/mod.rs
diff --git a/crates/libanalysis/src/descriptors.rs b/crates/ra_analysis/src/descriptors.rs
index 93a4158e4..0731b5572 100644
--- a/crates/libanalysis/src/descriptors.rs
+++ b/crates/ra_analysis/src/descriptors.rs
@@ -2,7 +2,7 @@ use std::{
2 collections::BTreeMap, 2 collections::BTreeMap,
3}; 3};
4use relative_path::RelativePathBuf; 4use relative_path::RelativePathBuf;
5use libsyntax2::{ 5use ra_syntax::{
6 SmolStr, 6 SmolStr,
7 ast::{self, NameOwner}, 7 ast::{self, NameOwner},
8}; 8};
diff --git a/crates/libanalysis/src/imp.rs b/crates/ra_analysis/src/imp.rs
index 6f3191fe7..90184a4b9 100644
--- a/crates/libanalysis/src/imp.rs
+++ b/crates/ra_analysis/src/imp.rs
@@ -9,8 +9,8 @@ use std::{
9}; 9};
10 10
11use relative_path::RelativePath; 11use relative_path::RelativePath;
12use libeditor::{self, FileSymbol, LineIndex, find_node_at_offset, LocalEdit}; 12use ra_editor::{self, FileSymbol, LineIndex, find_node_at_offset, LocalEdit};
13use libsyntax2::{ 13use ra_syntax::{
14 TextUnit, TextRange, SmolStr, File, AstNode, 14 TextUnit, TextRange, SmolStr, File, AstNode,
15 SyntaxKind::*, 15 SyntaxKind::*,
16 ast::{self, NameOwner}, 16 ast::{self, NameOwner},
@@ -228,7 +228,7 @@ impl AnalysisImpl {
228 let module_tree = root.module_tree(); 228 let module_tree = root.module_tree();
229 let syntax = root.syntax(file_id); 229 let syntax = root.syntax(file_id);
230 230
231 let mut res = libeditor::diagnostics(&syntax) 231 let mut res = ra_editor::diagnostics(&syntax)
232 .into_iter() 232 .into_iter()
233 .map(|d| Diagnostic { range: d.range, message: d.msg, fix: None }) 233 .map(|d| Diagnostic { range: d.range, message: d.msg, fix: None })
234 .collect::<Vec<_>>(); 234 .collect::<Vec<_>>();
@@ -277,10 +277,10 @@ impl AnalysisImpl {
277 let file = self.file_syntax(file_id); 277 let file = self.file_syntax(file_id);
278 let offset = range.start(); 278 let offset = range.start();
279 let actions = vec![ 279 let actions = vec![
280 ("flip comma", libeditor::flip_comma(&file, offset).map(|f| f())), 280 ("flip comma", ra_editor::flip_comma(&file, offset).map(|f| f())),
281 ("add `#[derive]`", libeditor::add_derive(&file, offset).map(|f| f())), 281 ("add `#[derive]`", ra_editor::add_derive(&file, offset).map(|f| f())),
282 ("add impl", libeditor::add_impl(&file, offset).map(|f| f())), 282 ("add impl", ra_editor::add_impl(&file, offset).map(|f| f())),
283 ("introduce variable", libeditor::introduce_variable(&file, range).map(|f| f())), 283 ("introduce variable", ra_editor::introduce_variable(&file, range).map(|f| f())),
284 ]; 284 ];
285 actions.into_iter() 285 actions.into_iter()
286 .filter_map(|(name, local_edit)| { 286 .filter_map(|(name, local_edit)| {
diff --git a/crates/libanalysis/src/job.rs b/crates/ra_analysis/src/job.rs
index ea1652a26..ea1652a26 100644
--- a/crates/libanalysis/src/job.rs
+++ b/crates/ra_analysis/src/job.rs
diff --git a/crates/libanalysis/src/lib.rs b/crates/ra_analysis/src/lib.rs
index b4b7a6a30..4da55ab26 100644
--- a/crates/libanalysis/src/lib.rs
+++ b/crates/ra_analysis/src/lib.rs
@@ -2,8 +2,8 @@ extern crate parking_lot;
2#[macro_use] 2#[macro_use]
3extern crate log; 3extern crate log;
4extern crate once_cell; 4extern crate once_cell;
5extern crate libsyntax2; 5extern crate ra_syntax;
6extern crate libeditor; 6extern crate ra_editor;
7extern crate fst; 7extern crate fst;
8extern crate rayon; 8extern crate rayon;
9extern crate relative_path; 9extern crate relative_path;
@@ -28,10 +28,10 @@ use std::{
28}; 28};
29 29
30use relative_path::{RelativePath, RelativePathBuf}; 30use relative_path::{RelativePath, RelativePathBuf};
31use libsyntax2::{File, TextRange, TextUnit, AtomEdit}; 31use ra_syntax::{File, TextRange, TextUnit, AtomEdit};
32use imp::{AnalysisImpl, AnalysisHostImpl, FileResolverImp}; 32use imp::{AnalysisImpl, AnalysisHostImpl, FileResolverImp};
33 33
34pub use libeditor::{ 34pub use ra_editor::{
35 StructureNode, LineIndex, FileSymbol, 35 StructureNode, LineIndex, FileSymbol,
36 Runnable, RunnableKind, HighlightedRange, CompletionItem, 36 Runnable, RunnableKind, HighlightedRange, CompletionItem,
37}; 37};
@@ -170,26 +170,26 @@ impl Analysis {
170 self.imp.file_line_index(file_id) 170 self.imp.file_line_index(file_id)
171 } 171 }
172 pub fn extend_selection(&self, file: &File, range: TextRange) -> TextRange { 172 pub fn extend_selection(&self, file: &File, range: TextRange) -> TextRange {
173 libeditor::extend_selection(file, range).unwrap_or(range) 173 ra_editor::extend_selection(file, range).unwrap_or(range)
174 } 174 }
175 pub fn matching_brace(&self, file: &File, offset: TextUnit) -> Option<TextUnit> { 175 pub fn matching_brace(&self, file: &File, offset: TextUnit) -> Option<TextUnit> {
176 libeditor::matching_brace(file, offset) 176 ra_editor::matching_brace(file, offset)
177 } 177 }
178 pub fn syntax_tree(&self, file_id: FileId) -> String { 178 pub fn syntax_tree(&self, file_id: FileId) -> String {
179 let file = self.imp.file_syntax(file_id); 179 let file = self.imp.file_syntax(file_id);
180 libeditor::syntax_tree(&file) 180 ra_editor::syntax_tree(&file)
181 } 181 }
182 pub fn join_lines(&self, file_id: FileId, range: TextRange) -> SourceChange { 182 pub fn join_lines(&self, file_id: FileId, range: TextRange) -> SourceChange {
183 let file = self.imp.file_syntax(file_id); 183 let file = self.imp.file_syntax(file_id);
184 SourceChange::from_local_edit(file_id, "join lines", libeditor::join_lines(&file, range)) 184 SourceChange::from_local_edit(file_id, "join lines", ra_editor::join_lines(&file, range))
185 } 185 }
186 pub fn on_eq_typed(&self, file_id: FileId, offset: TextUnit) -> Option<SourceChange> { 186 pub fn on_eq_typed(&self, file_id: FileId, offset: TextUnit) -> Option<SourceChange> {
187 let file = self.imp.file_syntax(file_id); 187 let file = self.imp.file_syntax(file_id);
188 Some(SourceChange::from_local_edit(file_id, "add semicolon", libeditor::on_eq_typed(&file, offset)?)) 188 Some(SourceChange::from_local_edit(file_id, "add semicolon", ra_editor::on_eq_typed(&file, offset)?))
189 } 189 }
190 pub fn file_structure(&self, file_id: FileId) -> Vec<StructureNode> { 190 pub fn file_structure(&self, file_id: FileId) -> Vec<StructureNode> {
191 let file = self.imp.file_syntax(file_id); 191 let file = self.imp.file_syntax(file_id);
192 libeditor::file_structure(&file) 192 ra_editor::file_structure(&file)
193 } 193 }
194 pub fn symbol_search(&self, query: Query, token: &JobToken) -> Vec<(FileId, FileSymbol)> { 194 pub fn symbol_search(&self, query: Query, token: &JobToken) -> Vec<(FileId, FileSymbol)> {
195 self.imp.world_symbols(query, token) 195 self.imp.world_symbols(query, token)
@@ -208,15 +208,15 @@ impl Analysis {
208 } 208 }
209 pub fn runnables(&self, file_id: FileId) -> Vec<Runnable> { 209 pub fn runnables(&self, file_id: FileId) -> Vec<Runnable> {
210 let file = self.imp.file_syntax(file_id); 210 let file = self.imp.file_syntax(file_id);
211 libeditor::runnables(&file) 211 ra_editor::runnables(&file)
212 } 212 }
213 pub fn highlight(&self, file_id: FileId) -> Vec<HighlightedRange> { 213 pub fn highlight(&self, file_id: FileId) -> Vec<HighlightedRange> {
214 let file = self.imp.file_syntax(file_id); 214 let file = self.imp.file_syntax(file_id);
215 libeditor::highlight(&file) 215 ra_editor::highlight(&file)
216 } 216 }
217 pub fn completions(&self, file_id: FileId, offset: TextUnit) -> Option<Vec<CompletionItem>> { 217 pub fn completions(&self, file_id: FileId, offset: TextUnit) -> Option<Vec<CompletionItem>> {
218 let file = self.imp.file_syntax(file_id); 218 let file = self.imp.file_syntax(file_id);
219 libeditor::scope_completion(&file, offset) 219 ra_editor::scope_completion(&file, offset)
220 } 220 }
221 pub fn assists(&self, file_id: FileId, range: TextRange) -> Vec<SourceChange> { 221 pub fn assists(&self, file_id: FileId, range: TextRange) -> Vec<SourceChange> {
222 self.imp.assists(file_id, range) 222 self.imp.assists(file_id, range)
diff --git a/crates/libanalysis/src/module_map.rs b/crates/ra_analysis/src/module_map.rs
index a21f55fff..a21f55fff 100644
--- a/crates/libanalysis/src/module_map.rs
+++ b/crates/ra_analysis/src/module_map.rs
diff --git a/crates/libanalysis/src/queries.rs b/crates/ra_analysis/src/queries.rs
index 0b60316e6..062a2f420 100644
--- a/crates/libanalysis/src/queries.rs
+++ b/crates/ra_analysis/src/queries.rs
@@ -1,6 +1,6 @@
1use std::sync::Arc; 1use std::sync::Arc;
2use libsyntax2::File; 2use ra_syntax::File;
3use libeditor::LineIndex; 3use ra_editor::LineIndex;
4use { 4use {
5 FileId, 5 FileId,
6 db::{Query, QueryCtx, QueryRegistry}, 6 db::{Query, QueryCtx, QueryRegistry},
diff --git a/crates/libanalysis/src/roots.rs b/crates/ra_analysis/src/roots.rs
index 191d0d821..1835a9b25 100644
--- a/crates/libanalysis/src/roots.rs
+++ b/crates/ra_analysis/src/roots.rs
@@ -6,8 +6,8 @@ use std::{
6 6
7use once_cell::sync::OnceCell; 7use once_cell::sync::OnceCell;
8use rayon::prelude::*; 8use rayon::prelude::*;
9use libeditor::LineIndex; 9use ra_editor::LineIndex;
10use libsyntax2::File; 10use ra_syntax::File;
11 11
12use { 12use {
13 FileId, 13 FileId,
diff --git a/crates/libanalysis/src/symbol_index.rs b/crates/ra_analysis/src/symbol_index.rs
index d22187ac0..ffbb6a29f 100644
--- a/crates/libanalysis/src/symbol_index.rs
+++ b/crates/ra_analysis/src/symbol_index.rs
@@ -2,8 +2,8 @@ use std::{
2 sync::Arc, 2 sync::Arc,
3 hash::{Hash, Hasher}, 3 hash::{Hash, Hasher},
4}; 4};
5use libeditor::{FileSymbol, file_symbols}; 5use ra_editor::{FileSymbol, file_symbols};
6use libsyntax2::{ 6use ra_syntax::{
7 File, 7 File,
8 SyntaxKind::{self, *}, 8 SyntaxKind::{self, *},
9}; 9};
diff --git a/crates/libanalysis/tests/tests.rs b/crates/ra_analysis/tests/tests.rs
index 547f85958..334dc5e48 100644
--- a/crates/libanalysis/tests/tests.rs
+++ b/crates/ra_analysis/tests/tests.rs
@@ -1,5 +1,5 @@
1extern crate libanalysis;
2extern crate relative_path; 1extern crate relative_path;
2extern crate ra_analysis;
3extern crate test_utils; 3extern crate test_utils;
4 4
5use std::{ 5use std::{
@@ -8,7 +8,7 @@ use std::{
8}; 8};
9 9
10use relative_path::{RelativePath, RelativePathBuf}; 10use relative_path::{RelativePath, RelativePathBuf};
11use libanalysis::{Analysis, AnalysisHost, FileId, FileResolver, JobHandle, CrateGraph, CrateId}; 11use ra_analysis::{Analysis, AnalysisHost, FileId, FileResolver, JobHandle, CrateGraph, CrateId};
12use test_utils::assert_eq_dbg; 12use test_utils::assert_eq_dbg;
13 13
14#[derive(Debug)] 14#[derive(Debug)]
diff --git a/crates/cli/Cargo.toml b/crates/ra_cli/Cargo.toml
index 7dbbe3f4e..17011e063 100644
--- a/crates/cli/Cargo.toml
+++ b/crates/ra_cli/Cargo.toml
@@ -1,5 +1,5 @@
1[package] 1[package]
2name = "cli" 2name = "ra_cli"
3version = "0.1.0" 3version = "0.1.0"
4authors = ["Aleksey Kladov <[email protected]>"] 4authors = ["Aleksey Kladov <[email protected]>"]
5publish = false 5publish = false
@@ -7,6 +7,6 @@ publish = false
7[dependencies] 7[dependencies]
8clap = "2.32.0" 8clap = "2.32.0"
9failure = "0.1.1" 9failure = "0.1.1"
10libsyntax2 = { path = "../libsyntax2" } 10ra_syntax = { path = "../ra_syntax" }
11libeditor = { path = "../libeditor" } 11ra_editor = { path = "../ra_editor" }
12tools = { path = "../tools" } 12tools = { path = "../tools" }
diff --git a/crates/cli/src/main.rs b/crates/ra_cli/src/main.rs
index 68a531f93..96e5b718c 100644
--- a/crates/cli/src/main.rs
+++ b/crates/ra_cli/src/main.rs
@@ -1,8 +1,8 @@
1extern crate clap; 1extern crate clap;
2#[macro_use] 2#[macro_use]
3extern crate failure; 3extern crate failure;
4extern crate libsyntax2; 4extern crate ra_syntax;
5extern crate libeditor; 5extern crate ra_editor;
6extern crate tools; 6extern crate tools;
7 7
8use std::{ 8use std::{
@@ -11,13 +11,13 @@ use std::{
11}; 11};
12use clap::{App, Arg, SubCommand}; 12use clap::{App, Arg, SubCommand};
13use tools::collect_tests; 13use tools::collect_tests;
14use libsyntax2::File; 14use ra_syntax::File;
15use libeditor::{syntax_tree, file_structure}; 15use ra_editor::{syntax_tree, file_structure};
16 16
17type Result<T> = ::std::result::Result<T, failure::Error>; 17type Result<T> = ::std::result::Result<T, failure::Error>;
18 18
19fn main() -> Result<()> { 19fn main() -> Result<()> {
20 let matches = App::new("libsyntax2-cli") 20 let matches = App::new("ra-cli")
21 .setting(clap::AppSettings::SubcommandRequiredElseHelp) 21 .setting(clap::AppSettings::SubcommandRequiredElseHelp)
22 .subcommand( 22 .subcommand(
23 SubCommand::with_name("render-test") 23 SubCommand::with_name("render-test")
diff --git a/crates/libeditor/Cargo.toml b/crates/ra_editor/Cargo.toml
index b04da1abe..40e3254ff 100644
--- a/crates/libeditor/Cargo.toml
+++ b/crates/ra_editor/Cargo.toml
@@ -1,5 +1,5 @@
1[package] 1[package]
2name = "libeditor" 2name = "ra_editor"
3version = "0.1.0" 3version = "0.1.0"
4authors = ["Aleksey Kladov <[email protected]>"] 4authors = ["Aleksey Kladov <[email protected]>"]
5publish = false 5publish = false
@@ -9,7 +9,7 @@ itertools = "0.7.8"
9superslice = "0.1.0" 9superslice = "0.1.0"
10join_to_string = "0.1.1" 10join_to_string = "0.1.1"
11 11
12libsyntax2 = { path = "../libsyntax2" } 12ra_syntax = { path = "../ra_syntax" }
13 13
14[dev-dependencies] 14[dev-dependencies]
15test_utils = { path = "../test_utils" } 15test_utils = { path = "../test_utils" }
diff --git a/crates/libeditor/src/code_actions.rs b/crates/ra_editor/src/code_actions.rs
index 4a07d1bc9..83f7956d2 100644
--- a/crates/libeditor/src/code_actions.rs
+++ b/crates/ra_editor/src/code_actions.rs
@@ -1,6 +1,6 @@
1use join_to_string::join; 1use join_to_string::join;
2 2
3use libsyntax2::{ 3use ra_syntax::{
4 File, TextUnit, TextRange, 4 File, TextUnit, TextRange,
5 ast::{self, AstNode, AttrsOwner, TypeParamsOwner, NameOwner}, 5 ast::{self, AstNode, AttrsOwner, TypeParamsOwner, NameOwner},
6 SyntaxKind::{COMMA, WHITESPACE}, 6 SyntaxKind::{COMMA, WHITESPACE},
diff --git a/crates/libeditor/src/completion.rs b/crates/ra_editor/src/completion.rs
index 52df6fd10..5000b32a0 100644
--- a/crates/libeditor/src/completion.rs
+++ b/crates/ra_editor/src/completion.rs
@@ -1,6 +1,6 @@
1use std::collections::{HashSet, HashMap}; 1use std::collections::{HashSet, HashMap};
2 2
3use libsyntax2::{ 3use ra_syntax::{
4 File, TextUnit, AstNode, SyntaxNodeRef, SyntaxKind::*, 4 File, TextUnit, AstNode, SyntaxNodeRef, SyntaxKind::*,
5 ast::{self, LoopBodyOwner, ModuleItemOwner}, 5 ast::{self, LoopBodyOwner, ModuleItemOwner},
6 algo::{ 6 algo::{
diff --git a/crates/libeditor/src/edit.rs b/crates/ra_editor/src/edit.rs
index 09cf2bd00..2839ac20a 100644
--- a/crates/libeditor/src/edit.rs
+++ b/crates/ra_editor/src/edit.rs
@@ -1,5 +1,5 @@
1use {TextRange, TextUnit}; 1use {TextRange, TextUnit};
2use libsyntax2::{ 2use ra_syntax::{
3 AtomEdit, 3 AtomEdit,
4 text_utils::contains_offset_nonstrict, 4 text_utils::contains_offset_nonstrict,
5}; 5};
diff --git a/crates/libeditor/src/extend_selection.rs b/crates/ra_editor/src/extend_selection.rs
index 9dc59e254..5fd1ca4fc 100644
--- a/crates/libeditor/src/extend_selection.rs
+++ b/crates/ra_editor/src/extend_selection.rs
@@ -1,4 +1,4 @@
1use libsyntax2::{ 1use ra_syntax::{
2 File, TextRange, SyntaxNodeRef, TextUnit, 2 File, TextRange, SyntaxNodeRef, TextUnit,
3 SyntaxKind::*, 3 SyntaxKind::*,
4 algo::{find_leaf_at_offset, LeafAtOffset, find_covering_node, ancestors, Direction, siblings}, 4 algo::{find_leaf_at_offset, LeafAtOffset, find_covering_node, ancestors, Direction, siblings},
diff --git a/crates/libeditor/src/lib.rs b/crates/ra_editor/src/lib.rs
index b3cf2ef55..78ed34c7c 100644
--- a/crates/libeditor/src/lib.rs
+++ b/crates/ra_editor/src/lib.rs
@@ -1,4 +1,4 @@
1extern crate libsyntax2; 1extern crate ra_syntax;
2extern crate superslice; 2extern crate superslice;
3extern crate itertools; 3extern crate itertools;
4extern crate join_to_string; 4extern crate join_to_string;
@@ -17,13 +17,13 @@ mod scope;
17#[cfg(test)] 17#[cfg(test)]
18mod test_utils; 18mod test_utils;
19 19
20use libsyntax2::{ 20use ra_syntax::{
21 File, TextUnit, TextRange, SyntaxNodeRef, 21 File, TextUnit, TextRange, SyntaxNodeRef,
22 ast::{self, AstNode, NameOwner}, 22 ast::{self, AstNode, NameOwner},
23 algo::{walk, find_leaf_at_offset, ancestors}, 23 algo::{walk, find_leaf_at_offset, ancestors},
24 SyntaxKind::{self, *}, 24 SyntaxKind::{self, *},
25}; 25};
26pub use libsyntax2::AtomEdit; 26pub use ra_syntax::AtomEdit;
27pub use self::{ 27pub use self::{
28 line_index::{LineIndex, LineCol}, 28 line_index::{LineIndex, LineCol},
29 extend_selection::extend_selection, 29 extend_selection::extend_selection,
@@ -124,7 +124,7 @@ pub fn diagnostics(file: &File) -> Vec<Diagnostic> {
124} 124}
125 125
126pub fn syntax_tree(file: &File) -> String { 126pub fn syntax_tree(file: &File) -> String {
127 ::libsyntax2::utils::dump_tree(file.syntax()) 127 ::ra_syntax::utils::dump_tree(file.syntax())
128} 128}
129 129
130pub fn runnables(file: &File) -> Vec<Runnable> { 130pub fn runnables(file: &File) -> Vec<Runnable> {
diff --git a/crates/libeditor/src/line_index.rs b/crates/ra_editor/src/line_index.rs
index 9cd8da3a8..9cd8da3a8 100644
--- a/crates/libeditor/src/line_index.rs
+++ b/crates/ra_editor/src/line_index.rs
diff --git a/crates/libeditor/src/scope/fn_scope.rs b/crates/ra_editor/src/scope/fn_scope.rs
index 60b8ce919..3ae5276a2 100644
--- a/crates/libeditor/src/scope/fn_scope.rs
+++ b/crates/ra_editor/src/scope/fn_scope.rs
@@ -3,7 +3,7 @@ use std::{
3 collections::HashMap, 3 collections::HashMap,
4}; 4};
5 5
6use libsyntax2::{ 6use ra_syntax::{
7 SyntaxNodeRef, SyntaxNode, SmolStr, AstNode, 7 SyntaxNodeRef, SyntaxNode, SmolStr, AstNode,
8 ast::{self, NameOwner, LoopBodyOwner, ArgListOwner}, 8 ast::{self, NameOwner, LoopBodyOwner, ArgListOwner},
9 algo::{ancestors, generate, walk::preorder} 9 algo::{ancestors, generate, walk::preorder}
@@ -244,7 +244,7 @@ struct ScopeData {
244#[cfg(test)] 244#[cfg(test)]
245mod tests { 245mod tests {
246 use super::*; 246 use super::*;
247 use libsyntax2::File; 247 use ra_syntax::File;
248 use {find_node_at_offset, test_utils::extract_offset}; 248 use {find_node_at_offset, test_utils::extract_offset};
249 249
250 fn do_check(code: &str, expected: &[&str]) { 250 fn do_check(code: &str, expected: &[&str]) {
diff --git a/crates/libeditor/src/scope/mod.rs b/crates/ra_editor/src/scope/mod.rs
index 2f25230f8..2f25230f8 100644
--- a/crates/libeditor/src/scope/mod.rs
+++ b/crates/ra_editor/src/scope/mod.rs
diff --git a/crates/libeditor/src/scope/mod_scope.rs b/crates/ra_editor/src/scope/mod_scope.rs
index 0ec56a206..d2a3e7c58 100644
--- a/crates/libeditor/src/scope/mod_scope.rs
+++ b/crates/ra_editor/src/scope/mod_scope.rs
@@ -1,4 +1,4 @@
1use libsyntax2::{ 1use ra_syntax::{
2 AstNode, SyntaxNode, SyntaxNodeRef, SmolStr, 2 AstNode, SyntaxNode, SyntaxNodeRef, SmolStr,
3 ast::{self, AstChildren}, 3 ast::{self, AstChildren},
4}; 4};
@@ -86,7 +86,7 @@ fn collect_imports(tree: ast::UseTree, acc: &mut Vec<Entry>) {
86#[cfg(test)] 86#[cfg(test)]
87mod tests { 87mod tests {
88 use super::*; 88 use super::*;
89 use libsyntax2::{File, ast::ModuleItemOwner}; 89 use ra_syntax::{File, ast::ModuleItemOwner};
90 90
91 fn do_check(code: &str, expected: &[&str]) { 91 fn do_check(code: &str, expected: &[&str]) {
92 let file = File::parse(&code); 92 let file = File::parse(&code);
diff --git a/crates/libeditor/src/symbols.rs b/crates/ra_editor/src/symbols.rs
index 2f9cc9233..917984177 100644
--- a/crates/libeditor/src/symbols.rs
+++ b/crates/ra_editor/src/symbols.rs
@@ -1,4 +1,4 @@
1use libsyntax2::{ 1use ra_syntax::{
2 SyntaxKind, SyntaxNodeRef, AstNode, File, SmolStr, 2 SyntaxKind, SyntaxNodeRef, AstNode, File, SmolStr,
3 ast::{self, NameOwner}, 3 ast::{self, NameOwner},
4 algo::{ 4 algo::{
diff --git a/crates/libeditor/src/test_utils.rs b/crates/ra_editor/src/test_utils.rs
index 9c1279991..c4ea4db6c 100644
--- a/crates/libeditor/src/test_utils.rs
+++ b/crates/ra_editor/src/test_utils.rs
@@ -1,4 +1,4 @@
1use libsyntax2::{File, TextUnit, TextRange}; 1use ra_syntax::{File, TextUnit, TextRange};
2pub use _test_utils::*; 2pub use _test_utils::*;
3use LocalEdit; 3use LocalEdit;
4 4
diff --git a/crates/libeditor/src/typing.rs b/crates/ra_editor/src/typing.rs
index 826b16181..0f4e7e0d0 100644
--- a/crates/libeditor/src/typing.rs
+++ b/crates/ra_editor/src/typing.rs
@@ -1,6 +1,6 @@
1use std::mem; 1use std::mem;
2 2
3use libsyntax2::{ 3use ra_syntax::{
4 TextUnit, TextRange, SyntaxNodeRef, File, AstNode, SyntaxKind, 4 TextUnit, TextRange, SyntaxNodeRef, File, AstNode, SyntaxKind,
5 ast, 5 ast,
6 algo::{ 6 algo::{
diff --git a/crates/server/Cargo.toml b/crates/ra_lsp_server/Cargo.toml
index fc20730b8..b851f70e1 100644
--- a/crates/server/Cargo.toml
+++ b/crates/ra_lsp_server/Cargo.toml
@@ -1,5 +1,5 @@
1[package] 1[package]
2name = "m" 2name = "ra_lsp_server"
3version = "0.1.0" 3version = "0.1.0"
4authors = ["Aleksey Kladov <[email protected]>"] 4authors = ["Aleksey Kladov <[email protected]>"]
5 5
@@ -15,16 +15,16 @@ crossbeam-channel = "0.2.4"
15flexi_logger = "0.9.1" 15flexi_logger = "0.9.1"
16log = "0.4.3" 16log = "0.4.3"
17url_serde = "0.2.0" 17url_serde = "0.2.0"
18languageserver-types = "0.49.0" 18languageserver-types = "0.50.0"
19walkdir = "2.2.0" 19walkdir = "2.2.0"
20im = "12.0.0" 20im = "12.0.0"
21cargo_metadata = "0.6.0" 21cargo_metadata = "0.6.0"
22text_unit = { version = "0.1.2", features = ["serde"] } 22text_unit = { version = "0.1.2", features = ["serde"] }
23smol_str = { version = "0.1.5", features = ["serde"] } 23smol_str = { version = "0.1.5", features = ["serde"] }
24 24
25libsyntax2 = { path = "../libsyntax2" } 25ra_syntax = { path = "../ra_syntax" }
26libeditor = { path = "../libeditor" } 26ra_editor = { path = "../ra_editor" }
27libanalysis = { path = "../libanalysis" } 27ra_analysis = { path = "../ra_analysis" }
28gen_lsp_server = { path = "../gen_lsp_server" } 28gen_lsp_server = { path = "../gen_lsp_server" }
29 29
30[dev-dependencies] 30[dev-dependencies]
diff --git a/crates/server/src/caps.rs b/crates/ra_lsp_server/src/caps.rs
index 7456aea8a..7456aea8a 100644
--- a/crates/server/src/caps.rs
+++ b/crates/ra_lsp_server/src/caps.rs
diff --git a/crates/server/src/conv.rs b/crates/ra_lsp_server/src/conv.rs
index a59308c3f..759e5e914 100644
--- a/crates/server/src/conv.rs
+++ b/crates/ra_lsp_server/src/conv.rs
@@ -3,9 +3,9 @@ use languageserver_types::{
3 TextDocumentIdentifier, VersionedTextDocumentIdentifier, TextDocumentItem, 3 TextDocumentIdentifier, VersionedTextDocumentIdentifier, TextDocumentItem,
4 TextDocumentPositionParams, TextDocumentEdit, 4 TextDocumentPositionParams, TextDocumentEdit,
5}; 5};
6use libeditor::{LineIndex, LineCol, Edit, AtomEdit}; 6use ra_editor::{LineIndex, LineCol, Edit, AtomEdit};
7use libsyntax2::{SyntaxKind, TextUnit, TextRange}; 7use ra_syntax::{SyntaxKind, TextUnit, TextRange};
8use libanalysis::{FileId, SourceChange, SourceFileEdit, FileSystemEdit}; 8use ra_analysis::{FileId, SourceChange, SourceFileEdit, FileSystemEdit};
9 9
10use { 10use {
11 Result, 11 Result,
diff --git a/crates/server/src/lib.rs b/crates/ra_lsp_server/src/lib.rs
index c8aebc59c..d2f76972f 100644
--- a/crates/server/src/lib.rs
+++ b/crates/ra_lsp_server/src/lib.rs
@@ -18,9 +18,9 @@ extern crate relative_path;
18extern crate cargo_metadata; 18extern crate cargo_metadata;
19 19
20extern crate gen_lsp_server; 20extern crate gen_lsp_server;
21extern crate libeditor; 21extern crate ra_editor;
22extern crate libanalysis; 22extern crate ra_analysis;
23extern crate libsyntax2; 23extern crate ra_syntax;
24 24
25mod caps; 25mod caps;
26pub mod req; 26pub mod req;
diff --git a/crates/server/src/main.rs b/crates/ra_lsp_server/src/main.rs
index 968b3b87a..c547764f6 100644
--- a/crates/server/src/main.rs
+++ b/crates/ra_lsp_server/src/main.rs
@@ -4,11 +4,11 @@ extern crate log;
4extern crate failure; 4extern crate failure;
5extern crate flexi_logger; 5extern crate flexi_logger;
6extern crate gen_lsp_server; 6extern crate gen_lsp_server;
7extern crate m; 7extern crate ra_lsp_server;
8 8
9use flexi_logger::{Logger, Duplicate}; 9use flexi_logger::{Logger, Duplicate};
10use gen_lsp_server::{run_server, stdio_transport}; 10use gen_lsp_server::{run_server, stdio_transport};
11use m::Result; 11use ra_lsp_server::Result;
12 12
13fn main() -> Result<()> { 13fn main() -> Result<()> {
14 ::std::env::set_var("RUST_BACKTRACE", "short"); 14 ::std::env::set_var("RUST_BACKTRACE", "short");
@@ -34,12 +34,12 @@ fn main_inner() -> Result<()> {
34 let (receiver, sender, threads) = stdio_transport(); 34 let (receiver, sender, threads) = stdio_transport();
35 let cwd = ::std::env::current_dir()?; 35 let cwd = ::std::env::current_dir()?;
36 run_server( 36 run_server(
37 m::server_capabilities(), 37 ra_lsp_server::server_capabilities(),
38 |params, r, s| { 38 |params, r, s| {
39 let root = params.root_uri 39 let root = params.root_uri
40 .and_then(|it| it.to_file_path().ok()) 40 .and_then(|it| it.to_file_path().ok())
41 .unwrap_or(cwd); 41 .unwrap_or(cwd);
42 m::main_loop(false, root, r, s) 42 ra_lsp_server::main_loop(false, root, r, s)
43 }, 43 },
44 receiver, 44 receiver,
45 sender, 45 sender,
diff --git a/crates/server/src/main_loop/handlers.rs b/crates/ra_lsp_server/src/main_loop/handlers.rs
index 3e02227d5..568f5344c 100644
--- a/crates/server/src/main_loop/handlers.rs
+++ b/crates/ra_lsp_server/src/main_loop/handlers.rs
@@ -7,8 +7,8 @@ use languageserver_types::{
7 CompletionItem, InsertTextFormat, CompletionItemKind, 7 CompletionItem, InsertTextFormat, CompletionItemKind,
8}; 8};
9use serde_json::to_value; 9use serde_json::to_value;
10use libanalysis::{Query, FileId, RunnableKind, JobToken}; 10use ra_analysis::{Query, FileId, RunnableKind, JobToken};
11use libsyntax2::{ 11use ra_syntax::{
12 text_utils::contains_offset_nonstrict, 12 text_utils::contains_offset_nonstrict,
13}; 13};
14 14
diff --git a/crates/server/src/main_loop/mod.rs b/crates/ra_lsp_server/src/main_loop/mod.rs
index f3b2744bf..2b2279e97 100644
--- a/crates/server/src/main_loop/mod.rs
+++ b/crates/ra_lsp_server/src/main_loop/mod.rs
@@ -10,7 +10,7 @@ use serde::{Serialize, de::DeserializeOwned};
10use crossbeam_channel::{unbounded, Sender, Receiver}; 10use crossbeam_channel::{unbounded, Sender, Receiver};
11use rayon::{self, ThreadPool}; 11use rayon::{self, ThreadPool};
12use languageserver_types::{NumberOrString}; 12use languageserver_types::{NumberOrString};
13use libanalysis::{FileId, JobHandle, JobToken, LibraryData}; 13use ra_analysis::{FileId, JobHandle, JobToken, LibraryData};
14use gen_lsp_server::{ 14use gen_lsp_server::{
15 RawRequest, RawNotification, RawMessage, RawResponse, ErrorCode, 15 RawRequest, RawNotification, RawMessage, RawResponse, ErrorCode,
16 handle_shutdown, 16 handle_shutdown,
diff --git a/crates/server/src/main_loop/subscriptions.rs b/crates/ra_lsp_server/src/main_loop/subscriptions.rs
index 963096aef..27f92cc9a 100644
--- a/crates/server/src/main_loop/subscriptions.rs
+++ b/crates/ra_lsp_server/src/main_loop/subscriptions.rs
@@ -1,5 +1,5 @@
1use std::collections::HashSet; 1use std::collections::HashSet;
2use libanalysis::FileId; 2use ra_analysis::FileId;
3 3
4pub struct Subscriptions { 4pub struct Subscriptions {
5 subs: HashSet<FileId>, 5 subs: HashSet<FileId>,
diff --git a/crates/server/src/path_map.rs b/crates/ra_lsp_server/src/path_map.rs
index 282a03271..19c3b1d3b 100644
--- a/crates/server/src/path_map.rs
+++ b/crates/ra_lsp_server/src/path_map.rs
@@ -1,7 +1,7 @@
1use std::path::{PathBuf, Path, Component}; 1use std::path::{PathBuf, Path, Component};
2use im; 2use im;
3use relative_path::RelativePath; 3use relative_path::RelativePath;
4use libanalysis::{FileId, FileResolver}; 4use ra_analysis::{FileId, FileResolver};
5 5
6#[derive(Debug, Clone, Copy, PartialEq, Eq)] 6#[derive(Debug, Clone, Copy, PartialEq, Eq)]
7pub enum Root { 7pub enum Root {
diff --git a/crates/server/src/project_model.rs b/crates/ra_lsp_server/src/project_model.rs
index 359cf787d..5db34e3e5 100644
--- a/crates/server/src/project_model.rs
+++ b/crates/ra_lsp_server/src/project_model.rs
@@ -3,7 +3,7 @@ use std::{
3 path::{Path, PathBuf}, 3 path::{Path, PathBuf},
4}; 4};
5use cargo_metadata::{metadata_run, CargoOpt}; 5use cargo_metadata::{metadata_run, CargoOpt};
6use libsyntax2::SmolStr; 6use ra_syntax::SmolStr;
7 7
8use { 8use {
9 Result, 9 Result,
diff --git a/crates/server/src/req.rs b/crates/ra_lsp_server/src/req.rs
index 4af61dbbd..4af61dbbd 100644
--- a/crates/server/src/req.rs
+++ b/crates/ra_lsp_server/src/req.rs
diff --git a/crates/server/src/server_world.rs b/crates/ra_lsp_server/src/server_world.rs
index 6853efc00..865f7c491 100644
--- a/crates/server/src/server_world.rs
+++ b/crates/ra_lsp_server/src/server_world.rs
@@ -6,7 +6,7 @@ use std::{
6}; 6};
7 7
8use languageserver_types::Url; 8use languageserver_types::Url;
9use libanalysis::{FileId, AnalysisHost, Analysis, CrateGraph, CrateId, LibraryData, FileResolver}; 9use ra_analysis::{FileId, AnalysisHost, Analysis, CrateGraph, CrateId, LibraryData, FileResolver};
10 10
11use { 11use {
12 Result, 12 Result,
diff --git a/crates/server/src/thread_watcher.rs b/crates/ra_lsp_server/src/thread_watcher.rs
index 86a3a91e0..86a3a91e0 100644
--- a/crates/server/src/thread_watcher.rs
+++ b/crates/ra_lsp_server/src/thread_watcher.rs
diff --git a/crates/server/src/vfs.rs b/crates/ra_lsp_server/src/vfs.rs
index a1c1783f2..a1c1783f2 100644
--- a/crates/server/src/vfs.rs
+++ b/crates/ra_lsp_server/src/vfs.rs
diff --git a/crates/server/tests/heavy_tests/main.rs b/crates/ra_lsp_server/tests/heavy_tests/main.rs
index 50529f453..dced45f55 100644
--- a/crates/server/tests/heavy_tests/main.rs
+++ b/crates/ra_lsp_server/tests/heavy_tests/main.rs
@@ -6,11 +6,11 @@ extern crate serde;
6extern crate serde_json; 6extern crate serde_json;
7extern crate gen_lsp_server; 7extern crate gen_lsp_server;
8extern crate flexi_logger; 8extern crate flexi_logger;
9extern crate m; 9extern crate ra_lsp_server;
10 10
11mod support; 11mod support;
12 12
13use m::req::{Runnables, RunnablesParams}; 13use ra_lsp_server::req::{Runnables, RunnablesParams};
14 14
15use support::project; 15use support::project;
16 16
diff --git a/crates/server/tests/heavy_tests/support.rs b/crates/ra_lsp_server/tests/heavy_tests/support.rs
index 355914033..8fe2aa816 100644
--- a/crates/server/tests/heavy_tests/support.rs
+++ b/crates/ra_lsp_server/tests/heavy_tests/support.rs
@@ -21,7 +21,7 @@ use serde::Serialize;
21use serde_json::{Value, from_str, to_string_pretty}; 21use serde_json::{Value, from_str, to_string_pretty};
22use gen_lsp_server::{RawMessage, RawRequest, RawNotification}; 22use gen_lsp_server::{RawMessage, RawRequest, RawNotification};
23 23
24use m::{main_loop, req, thread_watcher::{ThreadWatcher, Worker}}; 24use ra_lsp_server::{main_loop, req, thread_watcher::{ThreadWatcher, Worker}};
25 25
26pub fn project(fixture: &str) -> Server { 26pub fn project(fixture: &str) -> Server {
27 static INIT: Once = Once::new(); 27 static INIT: Once = Once::new();
diff --git a/crates/libsyntax2/Cargo.toml b/crates/ra_syntax/Cargo.toml
index 030cca201..a0fd633e0 100644
--- a/crates/libsyntax2/Cargo.toml
+++ b/crates/ra_syntax/Cargo.toml
@@ -1,5 +1,5 @@
1[package] 1[package]
2name = "libsyntax2" 2name = "ra_syntax"
3version = "0.1.0" 3version = "0.1.0"
4authors = ["Aleksey Kladov <[email protected]>"] 4authors = ["Aleksey Kladov <[email protected]>"]
5license = "MIT OR Apache-2.0" 5license = "MIT OR Apache-2.0"
diff --git a/crates/libsyntax2/fuzz/.gitignore b/crates/ra_syntax/fuzz/.gitignore
index 572e03bdf..572e03bdf 100644
--- a/crates/libsyntax2/fuzz/.gitignore
+++ b/crates/ra_syntax/fuzz/.gitignore
diff --git a/crates/libsyntax2/fuzz/Cargo.toml b/crates/ra_syntax/fuzz/Cargo.toml
index 916cd5b6f..65ded6a21 100644
--- a/crates/libsyntax2/fuzz/Cargo.toml
+++ b/crates/ra_syntax/fuzz/Cargo.toml
@@ -1,6 +1,6 @@
1 1
2[package] 2[package]
3name = "libsyntax2-fuzz" 3name = "ra_syntax-fuzz"
4version = "0.0.1" 4version = "0.0.1"
5authors = ["Automatically generated"] 5authors = ["Automatically generated"]
6publish = false 6publish = false
@@ -8,7 +8,7 @@ publish = false
8[package.metadata] 8[package.metadata]
9cargo-fuzz = true 9cargo-fuzz = true
10 10
11[dependencies.libsyntax2] 11[dependencies.ra_syntax]
12path = ".." 12path = ".."
13[dependencies.libfuzzer-sys] 13[dependencies.libfuzzer-sys]
14git = "https://github.com/rust-fuzz/libfuzzer-sys.git" 14git = "https://github.com/rust-fuzz/libfuzzer-sys.git"
diff --git a/crates/libsyntax2/fuzz/fuzz_targets/parser.rs b/crates/ra_syntax/fuzz/fuzz_targets/parser.rs
index da87180bb..396c0ecaf 100644
--- a/crates/libsyntax2/fuzz/fuzz_targets/parser.rs
+++ b/crates/ra_syntax/fuzz/fuzz_targets/parser.rs
@@ -1,9 +1,9 @@
1#![no_main] 1#![no_main]
2#[macro_use] extern crate libfuzzer_sys; 2#[macro_use] extern crate libfuzzer_sys;
3extern crate libsyntax2; 3extern crate ra_syntax;
4 4
5fuzz_target!(|data: &[u8]| { 5fuzz_target!(|data: &[u8]| {
6 if let Ok(text) = std::str::from_utf8(data) { 6 if let Ok(text) = std::str::from_utf8(data) {
7 libsyntax2::utils::check_fuzz_invariants(text) 7 ra_syntax::utils::check_fuzz_invariants(text)
8 } 8 }
9}); 9});
diff --git a/crates/libsyntax2/src/algo/mod.rs b/crates/ra_syntax/src/algo/mod.rs
index 7287f5bb2..7287f5bb2 100644
--- a/crates/libsyntax2/src/algo/mod.rs
+++ b/crates/ra_syntax/src/algo/mod.rs
diff --git a/crates/libsyntax2/src/algo/visit.rs b/crates/ra_syntax/src/algo/visit.rs
index 9f1c127c7..9f1c127c7 100644
--- a/crates/libsyntax2/src/algo/visit.rs
+++ b/crates/ra_syntax/src/algo/visit.rs
diff --git a/crates/libsyntax2/src/algo/walk.rs b/crates/ra_syntax/src/algo/walk.rs
index 536ee705f..536ee705f 100644
--- a/crates/libsyntax2/src/algo/walk.rs
+++ b/crates/ra_syntax/src/algo/walk.rs
diff --git a/crates/libsyntax2/src/ast/generated.rs b/crates/ra_syntax/src/ast/generated.rs
index c945c094a..c945c094a 100644
--- a/crates/libsyntax2/src/ast/generated.rs
+++ b/crates/ra_syntax/src/ast/generated.rs
diff --git a/crates/libsyntax2/src/ast/generated.rs.tera b/crates/ra_syntax/src/ast/generated.rs.tera
index a72e9b732..a72e9b732 100644
--- a/crates/libsyntax2/src/ast/generated.rs.tera
+++ b/crates/ra_syntax/src/ast/generated.rs.tera
diff --git a/crates/libsyntax2/src/ast/mod.rs b/crates/ra_syntax/src/ast/mod.rs
index a6da82957..a6da82957 100644
--- a/crates/libsyntax2/src/ast/mod.rs
+++ b/crates/ra_syntax/src/ast/mod.rs
diff --git a/crates/libsyntax2/src/grammar.ron b/crates/ra_syntax/src/grammar.ron
index 77ae4c7db..77ae4c7db 100644
--- a/crates/libsyntax2/src/grammar.ron
+++ b/crates/ra_syntax/src/grammar.ron
diff --git a/crates/libsyntax2/src/grammar/attributes.rs b/crates/ra_syntax/src/grammar/attributes.rs
index cd30e8a45..cd30e8a45 100644
--- a/crates/libsyntax2/src/grammar/attributes.rs
+++ b/crates/ra_syntax/src/grammar/attributes.rs
diff --git a/crates/libsyntax2/src/grammar/expressions/atom.rs b/crates/ra_syntax/src/grammar/expressions/atom.rs
index f01df56bc..f01df56bc 100644
--- a/crates/libsyntax2/src/grammar/expressions/atom.rs
+++ b/crates/ra_syntax/src/grammar/expressions/atom.rs
diff --git a/crates/libsyntax2/src/grammar/expressions/mod.rs b/crates/ra_syntax/src/grammar/expressions/mod.rs
index 20e0fa328..20e0fa328 100644
--- a/crates/libsyntax2/src/grammar/expressions/mod.rs
+++ b/crates/ra_syntax/src/grammar/expressions/mod.rs
diff --git a/crates/libsyntax2/src/grammar/items/consts.rs b/crates/ra_syntax/src/grammar/items/consts.rs
index 5a5852f83..5a5852f83 100644
--- a/crates/libsyntax2/src/grammar/items/consts.rs
+++ b/crates/ra_syntax/src/grammar/items/consts.rs
diff --git a/crates/libsyntax2/src/grammar/items/mod.rs b/crates/ra_syntax/src/grammar/items/mod.rs
index 2567313ab..2567313ab 100644
--- a/crates/libsyntax2/src/grammar/items/mod.rs
+++ b/crates/ra_syntax/src/grammar/items/mod.rs
diff --git a/crates/libsyntax2/src/grammar/items/nominal.rs b/crates/ra_syntax/src/grammar/items/nominal.rs
index 8d02ad555..8d02ad555 100644
--- a/crates/libsyntax2/src/grammar/items/nominal.rs
+++ b/crates/ra_syntax/src/grammar/items/nominal.rs
diff --git a/crates/libsyntax2/src/grammar/items/traits.rs b/crates/ra_syntax/src/grammar/items/traits.rs
index c21cfb1a9..c21cfb1a9 100644
--- a/crates/libsyntax2/src/grammar/items/traits.rs
+++ b/crates/ra_syntax/src/grammar/items/traits.rs
diff --git a/crates/libsyntax2/src/grammar/items/use_item.rs b/crates/ra_syntax/src/grammar/items/use_item.rs
index 1ee4349fd..1ee4349fd 100644
--- a/crates/libsyntax2/src/grammar/items/use_item.rs
+++ b/crates/ra_syntax/src/grammar/items/use_item.rs
diff --git a/crates/libsyntax2/src/grammar/mod.rs b/crates/ra_syntax/src/grammar/mod.rs
index 2cb11dc1e..2cb11dc1e 100644
--- a/crates/libsyntax2/src/grammar/mod.rs
+++ b/crates/ra_syntax/src/grammar/mod.rs
diff --git a/crates/libsyntax2/src/grammar/params.rs b/crates/ra_syntax/src/grammar/params.rs
index 903c25939..903c25939 100644
--- a/crates/libsyntax2/src/grammar/params.rs
+++ b/crates/ra_syntax/src/grammar/params.rs
diff --git a/crates/libsyntax2/src/grammar/paths.rs b/crates/ra_syntax/src/grammar/paths.rs
index 7c9fb8be2..7c9fb8be2 100644
--- a/crates/libsyntax2/src/grammar/paths.rs
+++ b/crates/ra_syntax/src/grammar/paths.rs
diff --git a/crates/libsyntax2/src/grammar/patterns.rs b/crates/ra_syntax/src/grammar/patterns.rs
index 420bae7a7..420bae7a7 100644
--- a/crates/libsyntax2/src/grammar/patterns.rs
+++ b/crates/ra_syntax/src/grammar/patterns.rs
diff --git a/crates/libsyntax2/src/grammar/type_args.rs b/crates/ra_syntax/src/grammar/type_args.rs
index 29ff6e534..29ff6e534 100644
--- a/crates/libsyntax2/src/grammar/type_args.rs
+++ b/crates/ra_syntax/src/grammar/type_args.rs
diff --git a/crates/libsyntax2/src/grammar/type_params.rs b/crates/ra_syntax/src/grammar/type_params.rs
index 79bc95ce4..79bc95ce4 100644
--- a/crates/libsyntax2/src/grammar/type_params.rs
+++ b/crates/ra_syntax/src/grammar/type_params.rs
diff --git a/crates/libsyntax2/src/grammar/types.rs b/crates/ra_syntax/src/grammar/types.rs
index 27e5b086e..27e5b086e 100644
--- a/crates/libsyntax2/src/grammar/types.rs
+++ b/crates/ra_syntax/src/grammar/types.rs
diff --git a/crates/libsyntax2/src/lexer/classes.rs b/crates/ra_syntax/src/lexer/classes.rs
index 4235d2648..4235d2648 100644
--- a/crates/libsyntax2/src/lexer/classes.rs
+++ b/crates/ra_syntax/src/lexer/classes.rs
diff --git a/crates/libsyntax2/src/lexer/comments.rs b/crates/ra_syntax/src/lexer/comments.rs
index eb417c2dc..eb417c2dc 100644
--- a/crates/libsyntax2/src/lexer/comments.rs
+++ b/crates/ra_syntax/src/lexer/comments.rs
diff --git a/crates/libsyntax2/src/lexer/mod.rs b/crates/ra_syntax/src/lexer/mod.rs
index 3e11db88b..3e11db88b 100644
--- a/crates/libsyntax2/src/lexer/mod.rs
+++ b/crates/ra_syntax/src/lexer/mod.rs
diff --git a/crates/libsyntax2/src/lexer/numbers.rs b/crates/ra_syntax/src/lexer/numbers.rs
index 22e7d4e99..22e7d4e99 100644
--- a/crates/libsyntax2/src/lexer/numbers.rs
+++ b/crates/ra_syntax/src/lexer/numbers.rs
diff --git a/crates/libsyntax2/src/lexer/ptr.rs b/crates/ra_syntax/src/lexer/ptr.rs
index c9a5354ea..c9a5354ea 100644
--- a/crates/libsyntax2/src/lexer/ptr.rs
+++ b/crates/ra_syntax/src/lexer/ptr.rs
diff --git a/crates/libsyntax2/src/lexer/strings.rs b/crates/ra_syntax/src/lexer/strings.rs
index 5ff483d14..5ff483d14 100644
--- a/crates/libsyntax2/src/lexer/strings.rs
+++ b/crates/ra_syntax/src/lexer/strings.rs
diff --git a/crates/libsyntax2/src/lib.rs b/crates/ra_syntax/src/lib.rs
index eb271762e..eb271762e 100644
--- a/crates/libsyntax2/src/lib.rs
+++ b/crates/ra_syntax/src/lib.rs
diff --git a/crates/libsyntax2/src/parser_api.rs b/crates/ra_syntax/src/parser_api.rs
index 772d753af..772d753af 100644
--- a/crates/libsyntax2/src/parser_api.rs
+++ b/crates/ra_syntax/src/parser_api.rs
diff --git a/crates/libsyntax2/src/parser_impl/event.rs b/crates/ra_syntax/src/parser_impl/event.rs
index 9fd56b996..9fd56b996 100644
--- a/crates/libsyntax2/src/parser_impl/event.rs
+++ b/crates/ra_syntax/src/parser_impl/event.rs
diff --git a/crates/libsyntax2/src/parser_impl/input.rs b/crates/ra_syntax/src/parser_impl/input.rs
index c0fe4d488..c0fe4d488 100644
--- a/crates/libsyntax2/src/parser_impl/input.rs
+++ b/crates/ra_syntax/src/parser_impl/input.rs
diff --git a/crates/libsyntax2/src/parser_impl/mod.rs b/crates/ra_syntax/src/parser_impl/mod.rs
index b343b404f..b343b404f 100644
--- a/crates/libsyntax2/src/parser_impl/mod.rs
+++ b/crates/ra_syntax/src/parser_impl/mod.rs
diff --git a/crates/libsyntax2/src/reparsing.rs b/crates/ra_syntax/src/reparsing.rs
index da44913c5..da44913c5 100644
--- a/crates/libsyntax2/src/reparsing.rs
+++ b/crates/ra_syntax/src/reparsing.rs
diff --git a/crates/libsyntax2/src/syntax_kinds/generated.rs b/crates/ra_syntax/src/syntax_kinds/generated.rs
index 7882bded9..7882bded9 100644
--- a/crates/libsyntax2/src/syntax_kinds/generated.rs
+++ b/crates/ra_syntax/src/syntax_kinds/generated.rs
diff --git a/crates/libsyntax2/src/syntax_kinds/generated.rs.tera b/crates/ra_syntax/src/syntax_kinds/generated.rs.tera
index 90618721a..90618721a 100644
--- a/crates/libsyntax2/src/syntax_kinds/generated.rs.tera
+++ b/crates/ra_syntax/src/syntax_kinds/generated.rs.tera
diff --git a/crates/libsyntax2/src/syntax_kinds/mod.rs b/crates/ra_syntax/src/syntax_kinds/mod.rs
index 332cd13ac..332cd13ac 100644
--- a/crates/libsyntax2/src/syntax_kinds/mod.rs
+++ b/crates/ra_syntax/src/syntax_kinds/mod.rs
diff --git a/crates/libsyntax2/src/text_utils.rs b/crates/ra_syntax/src/text_utils.rs
index 58ae1e43e..58ae1e43e 100644
--- a/crates/libsyntax2/src/text_utils.rs
+++ b/crates/ra_syntax/src/text_utils.rs
diff --git a/crates/libsyntax2/src/token_set.rs b/crates/ra_syntax/src/token_set.rs
index c83fba81b..c83fba81b 100644
--- a/crates/libsyntax2/src/token_set.rs
+++ b/crates/ra_syntax/src/token_set.rs
diff --git a/crates/libsyntax2/src/utils.rs b/crates/ra_syntax/src/utils.rs
index 671dd7afa..671dd7afa 100644
--- a/crates/libsyntax2/src/utils.rs
+++ b/crates/ra_syntax/src/utils.rs
diff --git a/crates/libsyntax2/src/yellow/builder.rs b/crates/ra_syntax/src/yellow/builder.rs
index e4ab37899..e4ab37899 100644
--- a/crates/libsyntax2/src/yellow/builder.rs
+++ b/crates/ra_syntax/src/yellow/builder.rs
diff --git a/crates/libsyntax2/src/yellow/green.rs b/crates/ra_syntax/src/yellow/green.rs
index 8fb691643..8fb691643 100644
--- a/crates/libsyntax2/src/yellow/green.rs
+++ b/crates/ra_syntax/src/yellow/green.rs
diff --git a/crates/libsyntax2/src/yellow/mod.rs b/crates/ra_syntax/src/yellow/mod.rs
index 0596e702f..0596e702f 100644
--- a/crates/libsyntax2/src/yellow/mod.rs
+++ b/crates/ra_syntax/src/yellow/mod.rs
diff --git a/crates/libsyntax2/src/yellow/red.rs b/crates/ra_syntax/src/yellow/red.rs
index 84cfe4fba..84cfe4fba 100644
--- a/crates/libsyntax2/src/yellow/red.rs
+++ b/crates/ra_syntax/src/yellow/red.rs
diff --git a/crates/libsyntax2/src/yellow/syntax.rs b/crates/ra_syntax/src/yellow/syntax.rs
index 1d99cab4a..1d99cab4a 100644
--- a/crates/libsyntax2/src/yellow/syntax.rs
+++ b/crates/ra_syntax/src/yellow/syntax.rs
diff --git a/crates/libsyntax2/src/yellow/syntax_text.rs b/crates/ra_syntax/src/yellow/syntax_text.rs
index 280bedd78..280bedd78 100644
--- a/crates/libsyntax2/src/yellow/syntax_text.rs
+++ b/crates/ra_syntax/src/yellow/syntax_text.rs
diff --git a/crates/libsyntax2/tests/data/lexer/00012_block_comment.rs b/crates/ra_syntax/tests/data/lexer/00012_block_comment.rs
index 708aac197..708aac197 100644
--- a/crates/libsyntax2/tests/data/lexer/00012_block_comment.rs
+++ b/crates/ra_syntax/tests/data/lexer/00012_block_comment.rs
diff --git a/crates/libsyntax2/tests/data/lexer/00012_block_comment.txt b/crates/ra_syntax/tests/data/lexer/00012_block_comment.txt
index 9958b2518..9958b2518 100644
--- a/crates/libsyntax2/tests/data/lexer/00012_block_comment.txt
+++ b/crates/ra_syntax/tests/data/lexer/00012_block_comment.txt
diff --git a/crates/libsyntax2/tests/data/lexer/0001_hello.rs b/crates/ra_syntax/tests/data/lexer/0001_hello.rs
index 95d09f2b1..95d09f2b1 100644
--- a/crates/libsyntax2/tests/data/lexer/0001_hello.rs
+++ b/crates/ra_syntax/tests/data/lexer/0001_hello.rs
diff --git a/crates/libsyntax2/tests/data/lexer/0001_hello.txt b/crates/ra_syntax/tests/data/lexer/0001_hello.txt
index 27a5940a9..27a5940a9 100644
--- a/crates/libsyntax2/tests/data/lexer/0001_hello.txt
+++ b/crates/ra_syntax/tests/data/lexer/0001_hello.txt
diff --git a/crates/libsyntax2/tests/data/lexer/0002_whitespace.rs b/crates/ra_syntax/tests/data/lexer/0002_whitespace.rs
index 08fce1418..08fce1418 100644
--- a/crates/libsyntax2/tests/data/lexer/0002_whitespace.rs
+++ b/crates/ra_syntax/tests/data/lexer/0002_whitespace.rs
diff --git a/crates/libsyntax2/tests/data/lexer/0002_whitespace.txt b/crates/ra_syntax/tests/data/lexer/0002_whitespace.txt
index 01d260918..01d260918 100644
--- a/crates/libsyntax2/tests/data/lexer/0002_whitespace.txt
+++ b/crates/ra_syntax/tests/data/lexer/0002_whitespace.txt
diff --git a/crates/libsyntax2/tests/data/lexer/0003_ident.rs b/crates/ra_syntax/tests/data/lexer/0003_ident.rs
index c05c9c009..c05c9c009 100644
--- a/crates/libsyntax2/tests/data/lexer/0003_ident.rs
+++ b/crates/ra_syntax/tests/data/lexer/0003_ident.rs
diff --git a/crates/libsyntax2/tests/data/lexer/0003_ident.txt b/crates/ra_syntax/tests/data/lexer/0003_ident.txt
index 4a0d5c053..4a0d5c053 100644
--- a/crates/libsyntax2/tests/data/lexer/0003_ident.txt
+++ b/crates/ra_syntax/tests/data/lexer/0003_ident.txt
diff --git a/crates/libsyntax2/tests/data/lexer/0004_numbers.rs b/crates/ra_syntax/tests/data/lexer/0004_numbers.rs
index dc974b553..dc974b553 100644
--- a/crates/libsyntax2/tests/data/lexer/0004_numbers.rs
+++ b/crates/ra_syntax/tests/data/lexer/0004_numbers.rs
diff --git a/crates/libsyntax2/tests/data/lexer/0004_numbers.txt b/crates/ra_syntax/tests/data/lexer/0004_numbers.txt
index 4b5fd9f71..4b5fd9f71 100644
--- a/crates/libsyntax2/tests/data/lexer/0004_numbers.txt
+++ b/crates/ra_syntax/tests/data/lexer/0004_numbers.txt
diff --git a/crates/libsyntax2/tests/data/lexer/0005_symbols.rs b/crates/ra_syntax/tests/data/lexer/0005_symbols.rs
index 487569b5a..487569b5a 100644
--- a/crates/libsyntax2/tests/data/lexer/0005_symbols.rs
+++ b/crates/ra_syntax/tests/data/lexer/0005_symbols.rs
diff --git a/crates/libsyntax2/tests/data/lexer/0005_symbols.txt b/crates/ra_syntax/tests/data/lexer/0005_symbols.txt
index a6bc83a6f..a6bc83a6f 100644
--- a/crates/libsyntax2/tests/data/lexer/0005_symbols.txt
+++ b/crates/ra_syntax/tests/data/lexer/0005_symbols.txt
diff --git a/crates/libsyntax2/tests/data/lexer/0006_chars.rs b/crates/ra_syntax/tests/data/lexer/0006_chars.rs
index 454ee0a5f..454ee0a5f 100644
--- a/crates/libsyntax2/tests/data/lexer/0006_chars.rs
+++ b/crates/ra_syntax/tests/data/lexer/0006_chars.rs
diff --git a/crates/libsyntax2/tests/data/lexer/0006_chars.txt b/crates/ra_syntax/tests/data/lexer/0006_chars.txt
index 950954fbc..950954fbc 100644
--- a/crates/libsyntax2/tests/data/lexer/0006_chars.txt
+++ b/crates/ra_syntax/tests/data/lexer/0006_chars.txt
diff --git a/crates/libsyntax2/tests/data/lexer/0007_lifetimes.rs b/crates/ra_syntax/tests/data/lexer/0007_lifetimes.rs
index b764f1dce..b764f1dce 100644
--- a/crates/libsyntax2/tests/data/lexer/0007_lifetimes.rs
+++ b/crates/ra_syntax/tests/data/lexer/0007_lifetimes.rs
diff --git a/crates/libsyntax2/tests/data/lexer/0007_lifetimes.txt b/crates/ra_syntax/tests/data/lexer/0007_lifetimes.txt
index 005c29100..005c29100 100644
--- a/crates/libsyntax2/tests/data/lexer/0007_lifetimes.txt
+++ b/crates/ra_syntax/tests/data/lexer/0007_lifetimes.txt
diff --git a/crates/libsyntax2/tests/data/lexer/0008_byte_strings.rs b/crates/ra_syntax/tests/data/lexer/0008_byte_strings.rs
index b54930f5e..b54930f5e 100644
--- a/crates/libsyntax2/tests/data/lexer/0008_byte_strings.rs
+++ b/crates/ra_syntax/tests/data/lexer/0008_byte_strings.rs
diff --git a/crates/libsyntax2/tests/data/lexer/0008_byte_strings.txt b/crates/ra_syntax/tests/data/lexer/0008_byte_strings.txt
index bc03b51a8..bc03b51a8 100644
--- a/crates/libsyntax2/tests/data/lexer/0008_byte_strings.txt
+++ b/crates/ra_syntax/tests/data/lexer/0008_byte_strings.txt
diff --git a/crates/libsyntax2/tests/data/lexer/0009_strings.rs b/crates/ra_syntax/tests/data/lexer/0009_strings.rs
index 4ddb5bffc..4ddb5bffc 100644
--- a/crates/libsyntax2/tests/data/lexer/0009_strings.rs
+++ b/crates/ra_syntax/tests/data/lexer/0009_strings.rs
diff --git a/crates/libsyntax2/tests/data/lexer/0009_strings.txt b/crates/ra_syntax/tests/data/lexer/0009_strings.txt
index 4cb4d711d..4cb4d711d 100644
--- a/crates/libsyntax2/tests/data/lexer/0009_strings.txt
+++ b/crates/ra_syntax/tests/data/lexer/0009_strings.txt
diff --git a/crates/libsyntax2/tests/data/lexer/0010_comments.rs b/crates/ra_syntax/tests/data/lexer/0010_comments.rs
index 71bdd1f9c..71bdd1f9c 100644
--- a/crates/libsyntax2/tests/data/lexer/0010_comments.rs
+++ b/crates/ra_syntax/tests/data/lexer/0010_comments.rs
diff --git a/crates/libsyntax2/tests/data/lexer/0010_comments.txt b/crates/ra_syntax/tests/data/lexer/0010_comments.txt
index 3c997de3f..3c997de3f 100644
--- a/crates/libsyntax2/tests/data/lexer/0010_comments.txt
+++ b/crates/ra_syntax/tests/data/lexer/0010_comments.txt
diff --git a/crates/libsyntax2/tests/data/lexer/0011_keywords.rs b/crates/ra_syntax/tests/data/lexer/0011_keywords.rs
index e6bf64d4d..e6bf64d4d 100644
--- a/crates/libsyntax2/tests/data/lexer/0011_keywords.rs
+++ b/crates/ra_syntax/tests/data/lexer/0011_keywords.rs
diff --git a/crates/libsyntax2/tests/data/lexer/0011_keywords.txt b/crates/ra_syntax/tests/data/lexer/0011_keywords.txt
index d6a1abe8a..d6a1abe8a 100644
--- a/crates/libsyntax2/tests/data/lexer/0011_keywords.txt
+++ b/crates/ra_syntax/tests/data/lexer/0011_keywords.txt
diff --git a/crates/libsyntax2/tests/data/lexer/0013_raw_strings.rs b/crates/ra_syntax/tests/data/lexer/0013_raw_strings.rs
index e5ed0b693..e5ed0b693 100644
--- a/crates/libsyntax2/tests/data/lexer/0013_raw_strings.rs
+++ b/crates/ra_syntax/tests/data/lexer/0013_raw_strings.rs
diff --git a/crates/libsyntax2/tests/data/lexer/0013_raw_strings.txt b/crates/ra_syntax/tests/data/lexer/0013_raw_strings.txt
index 9cf0957d1..9cf0957d1 100644
--- a/crates/libsyntax2/tests/data/lexer/0013_raw_strings.txt
+++ b/crates/ra_syntax/tests/data/lexer/0013_raw_strings.txt
diff --git a/crates/libsyntax2/tests/data/lexer/0014_unclosed_char.rs b/crates/ra_syntax/tests/data/lexer/0014_unclosed_char.rs
index 9c0007077..9c0007077 100644
--- a/crates/libsyntax2/tests/data/lexer/0014_unclosed_char.rs
+++ b/crates/ra_syntax/tests/data/lexer/0014_unclosed_char.rs
diff --git a/crates/libsyntax2/tests/data/lexer/0014_unclosed_char.txt b/crates/ra_syntax/tests/data/lexer/0014_unclosed_char.txt
index 812dfbc18..812dfbc18 100644
--- a/crates/libsyntax2/tests/data/lexer/0014_unclosed_char.txt
+++ b/crates/ra_syntax/tests/data/lexer/0014_unclosed_char.txt
diff --git a/crates/libsyntax2/tests/data/lexer/0015_unclosed_string.rs b/crates/ra_syntax/tests/data/lexer/0015_unclosed_string.rs
index d771a26d4..d771a26d4 100644
--- a/crates/libsyntax2/tests/data/lexer/0015_unclosed_string.rs
+++ b/crates/ra_syntax/tests/data/lexer/0015_unclosed_string.rs
diff --git a/crates/libsyntax2/tests/data/lexer/0015_unclosed_string.txt b/crates/ra_syntax/tests/data/lexer/0015_unclosed_string.txt
index 728c40b66..728c40b66 100644
--- a/crates/libsyntax2/tests/data/lexer/0015_unclosed_string.txt
+++ b/crates/ra_syntax/tests/data/lexer/0015_unclosed_string.txt
diff --git a/crates/libsyntax2/tests/data/parser/err/0000_struct_field_missing_comma.rs b/crates/ra_syntax/tests/data/parser/err/0000_struct_field_missing_comma.rs
index fe5030d89..fe5030d89 100644
--- a/crates/libsyntax2/tests/data/parser/err/0000_struct_field_missing_comma.rs
+++ b/crates/ra_syntax/tests/data/parser/err/0000_struct_field_missing_comma.rs
diff --git a/crates/libsyntax2/tests/data/parser/err/0000_struct_field_missing_comma.txt b/crates/ra_syntax/tests/data/parser/err/0000_struct_field_missing_comma.txt
index aa375fe8a..aa375fe8a 100644
--- a/crates/libsyntax2/tests/data/parser/err/0000_struct_field_missing_comma.txt
+++ b/crates/ra_syntax/tests/data/parser/err/0000_struct_field_missing_comma.txt
diff --git a/crates/libsyntax2/tests/data/parser/err/0001_item_recovery_in_file.rs b/crates/ra_syntax/tests/data/parser/err/0001_item_recovery_in_file.rs
index 98f23de1f..98f23de1f 100644
--- a/crates/libsyntax2/tests/data/parser/err/0001_item_recovery_in_file.rs
+++ b/crates/ra_syntax/tests/data/parser/err/0001_item_recovery_in_file.rs
diff --git a/crates/libsyntax2/tests/data/parser/err/0001_item_recovery_in_file.txt b/crates/ra_syntax/tests/data/parser/err/0001_item_recovery_in_file.txt
index 771d6e1ef..771d6e1ef 100644
--- a/crates/libsyntax2/tests/data/parser/err/0001_item_recovery_in_file.txt
+++ b/crates/ra_syntax/tests/data/parser/err/0001_item_recovery_in_file.txt
diff --git a/crates/libsyntax2/tests/data/parser/err/0002_duplicate_shebang.rs b/crates/ra_syntax/tests/data/parser/err/0002_duplicate_shebang.rs
index 48a3a3980..48a3a3980 100644
--- a/crates/libsyntax2/tests/data/parser/err/0002_duplicate_shebang.rs
+++ b/crates/ra_syntax/tests/data/parser/err/0002_duplicate_shebang.rs
diff --git a/crates/libsyntax2/tests/data/parser/err/0002_duplicate_shebang.txt b/crates/ra_syntax/tests/data/parser/err/0002_duplicate_shebang.txt
index 57fb48420..57fb48420 100644
--- a/crates/libsyntax2/tests/data/parser/err/0002_duplicate_shebang.txt
+++ b/crates/ra_syntax/tests/data/parser/err/0002_duplicate_shebang.txt
diff --git a/crates/libsyntax2/tests/data/parser/err/0003_C++_semicolon.rs b/crates/ra_syntax/tests/data/parser/err/0003_C++_semicolon.rs
index 009312270..009312270 100644
--- a/crates/libsyntax2/tests/data/parser/err/0003_C++_semicolon.rs
+++ b/crates/ra_syntax/tests/data/parser/err/0003_C++_semicolon.rs
diff --git a/crates/libsyntax2/tests/data/parser/err/0003_C++_semicolon.txt b/crates/ra_syntax/tests/data/parser/err/0003_C++_semicolon.txt
index b51c0573a..b51c0573a 100644
--- a/crates/libsyntax2/tests/data/parser/err/0003_C++_semicolon.txt
+++ b/crates/ra_syntax/tests/data/parser/err/0003_C++_semicolon.txt
diff --git a/crates/libsyntax2/tests/data/parser/err/0004_use_path_bad_segment.rs b/crates/ra_syntax/tests/data/parser/err/0004_use_path_bad_segment.rs
index 060e65d06..060e65d06 100644
--- a/crates/libsyntax2/tests/data/parser/err/0004_use_path_bad_segment.rs
+++ b/crates/ra_syntax/tests/data/parser/err/0004_use_path_bad_segment.rs
diff --git a/crates/libsyntax2/tests/data/parser/err/0004_use_path_bad_segment.txt b/crates/ra_syntax/tests/data/parser/err/0004_use_path_bad_segment.txt
index 646c84534..646c84534 100644
--- a/crates/libsyntax2/tests/data/parser/err/0004_use_path_bad_segment.txt
+++ b/crates/ra_syntax/tests/data/parser/err/0004_use_path_bad_segment.txt
diff --git a/crates/libsyntax2/tests/data/parser/err/0005_attribute_recover.rs b/crates/ra_syntax/tests/data/parser/err/0005_attribute_recover.rs
index de7f81628..de7f81628 100644
--- a/crates/libsyntax2/tests/data/parser/err/0005_attribute_recover.rs
+++ b/crates/ra_syntax/tests/data/parser/err/0005_attribute_recover.rs
diff --git a/crates/libsyntax2/tests/data/parser/err/0005_attribute_recover.txt b/crates/ra_syntax/tests/data/parser/err/0005_attribute_recover.txt
index b3cf9b889..b3cf9b889 100644
--- a/crates/libsyntax2/tests/data/parser/err/0005_attribute_recover.txt
+++ b/crates/ra_syntax/tests/data/parser/err/0005_attribute_recover.txt
diff --git a/crates/libsyntax2/tests/data/parser/err/0006_named_field_recovery.rs b/crates/ra_syntax/tests/data/parser/err/0006_named_field_recovery.rs
index 8069c111b..8069c111b 100644
--- a/crates/libsyntax2/tests/data/parser/err/0006_named_field_recovery.rs
+++ b/crates/ra_syntax/tests/data/parser/err/0006_named_field_recovery.rs
diff --git a/crates/libsyntax2/tests/data/parser/err/0006_named_field_recovery.txt b/crates/ra_syntax/tests/data/parser/err/0006_named_field_recovery.txt
index 9abda7099..9abda7099 100644
--- a/crates/libsyntax2/tests/data/parser/err/0006_named_field_recovery.txt
+++ b/crates/ra_syntax/tests/data/parser/err/0006_named_field_recovery.txt
diff --git a/crates/libsyntax2/tests/data/parser/err/0007_stray_curly_in_file.rs b/crates/ra_syntax/tests/data/parser/err/0007_stray_curly_in_file.rs
index dc869fb78..dc869fb78 100644
--- a/crates/libsyntax2/tests/data/parser/err/0007_stray_curly_in_file.rs
+++ b/crates/ra_syntax/tests/data/parser/err/0007_stray_curly_in_file.rs
diff --git a/crates/libsyntax2/tests/data/parser/err/0007_stray_curly_in_file.txt b/crates/ra_syntax/tests/data/parser/err/0007_stray_curly_in_file.txt
index 802c69b31..802c69b31 100644
--- a/crates/libsyntax2/tests/data/parser/err/0007_stray_curly_in_file.txt
+++ b/crates/ra_syntax/tests/data/parser/err/0007_stray_curly_in_file.txt
diff --git a/crates/libsyntax2/tests/data/parser/err/0008_item_block_recovery.rs b/crates/ra_syntax/tests/data/parser/err/0008_item_block_recovery.rs
index 9fcac19b5..9fcac19b5 100644
--- a/crates/libsyntax2/tests/data/parser/err/0008_item_block_recovery.rs
+++ b/crates/ra_syntax/tests/data/parser/err/0008_item_block_recovery.rs
diff --git a/crates/libsyntax2/tests/data/parser/err/0008_item_block_recovery.txt b/crates/ra_syntax/tests/data/parser/err/0008_item_block_recovery.txt
index 95a34333b..95a34333b 100644
--- a/crates/libsyntax2/tests/data/parser/err/0008_item_block_recovery.txt
+++ b/crates/ra_syntax/tests/data/parser/err/0008_item_block_recovery.txt
diff --git a/crates/libsyntax2/tests/data/parser/err/0009_broken_struct_type_parameter.rs b/crates/ra_syntax/tests/data/parser/err/0009_broken_struct_type_parameter.rs
index 0dd30d0bd..0dd30d0bd 100644
--- a/crates/libsyntax2/tests/data/parser/err/0009_broken_struct_type_parameter.rs
+++ b/crates/ra_syntax/tests/data/parser/err/0009_broken_struct_type_parameter.rs
diff --git a/crates/libsyntax2/tests/data/parser/err/0009_broken_struct_type_parameter.txt b/crates/ra_syntax/tests/data/parser/err/0009_broken_struct_type_parameter.txt
index fa8adf881..fa8adf881 100644
--- a/crates/libsyntax2/tests/data/parser/err/0009_broken_struct_type_parameter.txt
+++ b/crates/ra_syntax/tests/data/parser/err/0009_broken_struct_type_parameter.txt
diff --git a/crates/libsyntax2/tests/data/parser/err/0010_unsafe_lambda_block.rs b/crates/ra_syntax/tests/data/parser/err/0010_unsafe_lambda_block.rs
index 985775282..985775282 100644
--- a/crates/libsyntax2/tests/data/parser/err/0010_unsafe_lambda_block.rs
+++ b/crates/ra_syntax/tests/data/parser/err/0010_unsafe_lambda_block.rs
diff --git a/crates/libsyntax2/tests/data/parser/err/0010_unsafe_lambda_block.txt b/crates/ra_syntax/tests/data/parser/err/0010_unsafe_lambda_block.txt
index 38667e030..38667e030 100644
--- a/crates/libsyntax2/tests/data/parser/err/0010_unsafe_lambda_block.txt
+++ b/crates/ra_syntax/tests/data/parser/err/0010_unsafe_lambda_block.txt
diff --git a/crates/libsyntax2/tests/data/parser/err/0011_extern_struct.rs b/crates/ra_syntax/tests/data/parser/err/0011_extern_struct.rs
index c1bd0a2d1..c1bd0a2d1 100644
--- a/crates/libsyntax2/tests/data/parser/err/0011_extern_struct.rs
+++ b/crates/ra_syntax/tests/data/parser/err/0011_extern_struct.rs
diff --git a/crates/libsyntax2/tests/data/parser/err/0011_extern_struct.txt b/crates/ra_syntax/tests/data/parser/err/0011_extern_struct.txt
index 0cb7447c4..0cb7447c4 100644
--- a/crates/libsyntax2/tests/data/parser/err/0011_extern_struct.txt
+++ b/crates/ra_syntax/tests/data/parser/err/0011_extern_struct.txt
diff --git a/crates/libsyntax2/tests/data/parser/err/0012_broken_lambda.txt b/crates/ra_syntax/tests/data/parser/err/0012_broken_lambda.txt
index a03aa05e3..a03aa05e3 100644
--- a/crates/libsyntax2/tests/data/parser/err/0012_broken_lambda.txt
+++ b/crates/ra_syntax/tests/data/parser/err/0012_broken_lambda.txt
diff --git a/crates/libsyntax2/tests/data/parser/err/0013_invalid_type.rs b/crates/ra_syntax/tests/data/parser/err/0013_invalid_type.rs
index 20dde3bc3..20dde3bc3 100644
--- a/crates/libsyntax2/tests/data/parser/err/0013_invalid_type.rs
+++ b/crates/ra_syntax/tests/data/parser/err/0013_invalid_type.rs
diff --git a/crates/libsyntax2/tests/data/parser/err/0013_invalid_type.txt b/crates/ra_syntax/tests/data/parser/err/0013_invalid_type.txt
index e1a6b6432..e1a6b6432 100644
--- a/crates/libsyntax2/tests/data/parser/err/0013_invalid_type.txt
+++ b/crates/ra_syntax/tests/data/parser/err/0013_invalid_type.txt
diff --git a/crates/libsyntax2/tests/data/parser/err/0014_where_no_bounds.rs b/crates/ra_syntax/tests/data/parser/err/0014_where_no_bounds.rs
index 75c1d2f98..75c1d2f98 100644
--- a/crates/libsyntax2/tests/data/parser/err/0014_where_no_bounds.rs
+++ b/crates/ra_syntax/tests/data/parser/err/0014_where_no_bounds.rs
diff --git a/crates/libsyntax2/tests/data/parser/err/0014_where_no_bounds.txt b/crates/ra_syntax/tests/data/parser/err/0014_where_no_bounds.txt
index 37826ce86..37826ce86 100644
--- a/crates/libsyntax2/tests/data/parser/err/0014_where_no_bounds.txt
+++ b/crates/ra_syntax/tests/data/parser/err/0014_where_no_bounds.txt
diff --git a/crates/libsyntax2/tests/data/parser/err/0015_curly_in_params.rs b/crates/ra_syntax/tests/data/parser/err/0015_curly_in_params.rs
index 156e70251..156e70251 100644
--- a/crates/libsyntax2/tests/data/parser/err/0015_curly_in_params.rs
+++ b/crates/ra_syntax/tests/data/parser/err/0015_curly_in_params.rs
diff --git a/crates/libsyntax2/tests/data/parser/err/0015_curly_in_params.txt b/crates/ra_syntax/tests/data/parser/err/0015_curly_in_params.txt
index 5f736a978..5f736a978 100644
--- a/crates/libsyntax2/tests/data/parser/err/0015_curly_in_params.txt
+++ b/crates/ra_syntax/tests/data/parser/err/0015_curly_in_params.txt
diff --git a/crates/libsyntax2/tests/data/parser/err/0016_missing_semi.rs b/crates/ra_syntax/tests/data/parser/err/0016_missing_semi.rs
index 9ae857686..9ae857686 100644
--- a/crates/libsyntax2/tests/data/parser/err/0016_missing_semi.rs
+++ b/crates/ra_syntax/tests/data/parser/err/0016_missing_semi.rs
diff --git a/crates/libsyntax2/tests/data/parser/err/0016_missing_semi.txt b/crates/ra_syntax/tests/data/parser/err/0016_missing_semi.txt
index a3163adcb..a3163adcb 100644
--- a/crates/libsyntax2/tests/data/parser/err/0016_missing_semi.txt
+++ b/crates/ra_syntax/tests/data/parser/err/0016_missing_semi.txt
diff --git a/crates/libsyntax2/tests/data/parser/err/0017_incomplete_binexpr.rs b/crates/ra_syntax/tests/data/parser/err/0017_incomplete_binexpr.rs
index 17bd49777..17bd49777 100644
--- a/crates/libsyntax2/tests/data/parser/err/0017_incomplete_binexpr.rs
+++ b/crates/ra_syntax/tests/data/parser/err/0017_incomplete_binexpr.rs
diff --git a/crates/libsyntax2/tests/data/parser/err/0017_incomplete_binexpr.txt b/crates/ra_syntax/tests/data/parser/err/0017_incomplete_binexpr.txt
index f0be287ad..f0be287ad 100644
--- a/crates/libsyntax2/tests/data/parser/err/0017_incomplete_binexpr.txt
+++ b/crates/ra_syntax/tests/data/parser/err/0017_incomplete_binexpr.txt
diff --git a/crates/libsyntax2/tests/data/parser/err/0018_incomplete_fn.rs b/crates/ra_syntax/tests/data/parser/err/0018_incomplete_fn.rs
index fe604006c..fe604006c 100644
--- a/crates/libsyntax2/tests/data/parser/err/0018_incomplete_fn.rs
+++ b/crates/ra_syntax/tests/data/parser/err/0018_incomplete_fn.rs
diff --git a/crates/libsyntax2/tests/data/parser/err/0018_incomplete_fn.txt b/crates/ra_syntax/tests/data/parser/err/0018_incomplete_fn.txt
index c4d9f5e7e..c4d9f5e7e 100644
--- a/crates/libsyntax2/tests/data/parser/err/0018_incomplete_fn.txt
+++ b/crates/ra_syntax/tests/data/parser/err/0018_incomplete_fn.txt
diff --git a/crates/libsyntax2/tests/data/parser/err/0019_let_recover.rs b/crates/ra_syntax/tests/data/parser/err/0019_let_recover.rs
index 48bf3d68b..48bf3d68b 100644
--- a/crates/libsyntax2/tests/data/parser/err/0019_let_recover.rs
+++ b/crates/ra_syntax/tests/data/parser/err/0019_let_recover.rs
diff --git a/crates/libsyntax2/tests/data/parser/err/0019_let_recover.txt b/crates/ra_syntax/tests/data/parser/err/0019_let_recover.txt
index 6e74771f1..6e74771f1 100644
--- a/crates/libsyntax2/tests/data/parser/err/0019_let_recover.txt
+++ b/crates/ra_syntax/tests/data/parser/err/0019_let_recover.txt
diff --git a/crates/libsyntax2/tests/data/parser/err/0020_fn_recover.rs b/crates/ra_syntax/tests/data/parser/err/0020_fn_recover.rs
index 3393b668b..3393b668b 100644
--- a/crates/libsyntax2/tests/data/parser/err/0020_fn_recover.rs
+++ b/crates/ra_syntax/tests/data/parser/err/0020_fn_recover.rs
diff --git a/crates/libsyntax2/tests/data/parser/err/0020_fn_recover.txt b/crates/ra_syntax/tests/data/parser/err/0020_fn_recover.txt
index b5218b0fa..b5218b0fa 100644
--- a/crates/libsyntax2/tests/data/parser/err/0020_fn_recover.txt
+++ b/crates/ra_syntax/tests/data/parser/err/0020_fn_recover.txt
diff --git a/crates/libsyntax2/tests/data/parser/err/0021_incomplete_param.rs b/crates/ra_syntax/tests/data/parser/err/0021_incomplete_param.rs
index 7a6c264f6..7a6c264f6 100644
--- a/crates/libsyntax2/tests/data/parser/err/0021_incomplete_param.rs
+++ b/crates/ra_syntax/tests/data/parser/err/0021_incomplete_param.rs
diff --git a/crates/libsyntax2/tests/data/parser/err/0021_incomplete_param.txt b/crates/ra_syntax/tests/data/parser/err/0021_incomplete_param.txt
index 8dcb58ae2..8dcb58ae2 100644
--- a/crates/libsyntax2/tests/data/parser/err/0021_incomplete_param.txt
+++ b/crates/ra_syntax/tests/data/parser/err/0021_incomplete_param.txt
diff --git a/crates/libsyntax2/tests/data/parser/err/0022_bad_exprs.rs b/crates/ra_syntax/tests/data/parser/err/0022_bad_exprs.rs
index cd2d493a1..cd2d493a1 100644
--- a/crates/libsyntax2/tests/data/parser/err/0022_bad_exprs.rs
+++ b/crates/ra_syntax/tests/data/parser/err/0022_bad_exprs.rs
diff --git a/crates/libsyntax2/tests/data/parser/err/0022_bad_exprs.txt b/crates/ra_syntax/tests/data/parser/err/0022_bad_exprs.txt
index 287e56ac4..287e56ac4 100644
--- a/crates/libsyntax2/tests/data/parser/err/0022_bad_exprs.txt
+++ b/crates/ra_syntax/tests/data/parser/err/0022_bad_exprs.txt
diff --git a/crates/libsyntax2/tests/data/parser/err/0023_mismatched_paren.rs b/crates/ra_syntax/tests/data/parser/err/0023_mismatched_paren.rs
index 0206d563e..0206d563e 100644
--- a/crates/libsyntax2/tests/data/parser/err/0023_mismatched_paren.rs
+++ b/crates/ra_syntax/tests/data/parser/err/0023_mismatched_paren.rs
diff --git a/crates/libsyntax2/tests/data/parser/err/0023_mismatched_paren.txt b/crates/ra_syntax/tests/data/parser/err/0023_mismatched_paren.txt
index 2df81b12b..2df81b12b 100644
--- a/crates/libsyntax2/tests/data/parser/err/0023_mismatched_paren.txt
+++ b/crates/ra_syntax/tests/data/parser/err/0023_mismatched_paren.txt
diff --git a/crates/libsyntax2/tests/data/parser/err/0024_many_type_parens.rs b/crates/ra_syntax/tests/data/parser/err/0024_many_type_parens.rs
index 6c2e95c02..6c2e95c02 100644
--- a/crates/libsyntax2/tests/data/parser/err/0024_many_type_parens.rs
+++ b/crates/ra_syntax/tests/data/parser/err/0024_many_type_parens.rs
diff --git a/crates/libsyntax2/tests/data/parser/err/0024_many_type_parens.txt b/crates/ra_syntax/tests/data/parser/err/0024_many_type_parens.txt
index 195c12e08..195c12e08 100644
--- a/crates/libsyntax2/tests/data/parser/err/0024_many_type_parens.txt
+++ b/crates/ra_syntax/tests/data/parser/err/0024_many_type_parens.txt
diff --git a/crates/libsyntax2/tests/data/parser/err/0025_nope.rs b/crates/ra_syntax/tests/data/parser/err/0025_nope.rs
index 28726ed51..28726ed51 100644
--- a/crates/libsyntax2/tests/data/parser/err/0025_nope.rs
+++ b/crates/ra_syntax/tests/data/parser/err/0025_nope.rs
diff --git a/crates/libsyntax2/tests/data/parser/err/0025_nope.txt b/crates/ra_syntax/tests/data/parser/err/0025_nope.txt
index c30b8585f..c30b8585f 100644
--- a/crates/libsyntax2/tests/data/parser/err/0025_nope.txt
+++ b/crates/ra_syntax/tests/data/parser/err/0025_nope.txt
diff --git a/crates/libsyntax2/tests/data/parser/fuzz-failures/0000.rs b/crates/ra_syntax/tests/data/parser/fuzz-failures/0000.rs
index 53c93d9e9..53c93d9e9 100644
--- a/crates/libsyntax2/tests/data/parser/fuzz-failures/0000.rs
+++ b/crates/ra_syntax/tests/data/parser/fuzz-failures/0000.rs
diff --git a/crates/libsyntax2/tests/data/parser/fuzz-failures/0001.rs b/crates/ra_syntax/tests/data/parser/fuzz-failures/0001.rs
index cf98cf7a7..099cc5f84 100644
--- a/crates/libsyntax2/tests/data/parser/fuzz-failures/0001.rs
+++ b/crates/ra_syntax/tests/data/parser/fuzz-failures/0001.rs
@@ -1,4 +1,4 @@
1use libsyntax2::{ 1use ra_syntax::{
2 File, TextRange, SyntaxNodeRef, TextUnit, 2 File, TextRange, SyntaxNodeRef, TextUnit,
3 SyntaxKind::*, 3 SyntaxKind::*,
4 algo::{find_leaf_at_offset, LeafAtOffset, find_covering_node, ancestors, Direction, siblings}, 4 algo::{find_leaf_at_offset, LeafAtOffset, find_covering_node, ancestors, Direction, siblings},
diff --git a/crates/libsyntax2/tests/data/parser/inline/0001_const_unsafe_fn.rs b/crates/ra_syntax/tests/data/parser/inline/0001_const_unsafe_fn.rs
index 31a1e435f..31a1e435f 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0001_const_unsafe_fn.rs
+++ b/crates/ra_syntax/tests/data/parser/inline/0001_const_unsafe_fn.rs
diff --git a/crates/libsyntax2/tests/data/parser/inline/0001_const_unsafe_fn.txt b/crates/ra_syntax/tests/data/parser/inline/0001_const_unsafe_fn.txt
index 956532981..956532981 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0001_const_unsafe_fn.txt
+++ b/crates/ra_syntax/tests/data/parser/inline/0001_const_unsafe_fn.txt
diff --git a/crates/libsyntax2/tests/data/parser/inline/0002_const_fn.rs b/crates/ra_syntax/tests/data/parser/inline/0002_const_fn.rs
index 8c84d9cd7..8c84d9cd7 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0002_const_fn.rs
+++ b/crates/ra_syntax/tests/data/parser/inline/0002_const_fn.rs
diff --git a/crates/libsyntax2/tests/data/parser/inline/0002_const_fn.txt b/crates/ra_syntax/tests/data/parser/inline/0002_const_fn.txt
index bda875fc5..bda875fc5 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0002_const_fn.txt
+++ b/crates/ra_syntax/tests/data/parser/inline/0002_const_fn.txt
diff --git a/crates/libsyntax2/tests/data/parser/inline/0003_extern_block.rs b/crates/ra_syntax/tests/data/parser/inline/0003_extern_block.rs
index 26a9ccd1e..26a9ccd1e 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0003_extern_block.rs
+++ b/crates/ra_syntax/tests/data/parser/inline/0003_extern_block.rs
diff --git a/crates/libsyntax2/tests/data/parser/inline/0003_extern_block.txt b/crates/ra_syntax/tests/data/parser/inline/0003_extern_block.txt
index 2c2bbd035..2c2bbd035 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0003_extern_block.txt
+++ b/crates/ra_syntax/tests/data/parser/inline/0003_extern_block.txt
diff --git a/crates/libsyntax2/tests/data/parser/inline/0004_extern_fn.rs b/crates/ra_syntax/tests/data/parser/inline/0004_extern_fn.rs
index 394a049f0..394a049f0 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0004_extern_fn.rs
+++ b/crates/ra_syntax/tests/data/parser/inline/0004_extern_fn.rs
diff --git a/crates/libsyntax2/tests/data/parser/inline/0004_extern_fn.txt b/crates/ra_syntax/tests/data/parser/inline/0004_extern_fn.txt
index f6e769475..f6e769475 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0004_extern_fn.txt
+++ b/crates/ra_syntax/tests/data/parser/inline/0004_extern_fn.txt
diff --git a/crates/libsyntax2/tests/data/parser/inline/0005_extern_crate.rs b/crates/ra_syntax/tests/data/parser/inline/0005_extern_crate.rs
index 49af74e1b..49af74e1b 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0005_extern_crate.rs
+++ b/crates/ra_syntax/tests/data/parser/inline/0005_extern_crate.rs
diff --git a/crates/libsyntax2/tests/data/parser/inline/0005_extern_crate.txt b/crates/ra_syntax/tests/data/parser/inline/0005_extern_crate.txt
index fc025b0f3..fc025b0f3 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0005_extern_crate.txt
+++ b/crates/ra_syntax/tests/data/parser/inline/0005_extern_crate.txt
diff --git a/crates/libsyntax2/tests/data/parser/inline/0007_unsafe_trait.rs b/crates/ra_syntax/tests/data/parser/inline/0007_unsafe_trait.rs
index 04e021550..04e021550 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0007_unsafe_trait.rs
+++ b/crates/ra_syntax/tests/data/parser/inline/0007_unsafe_trait.rs
diff --git a/crates/libsyntax2/tests/data/parser/inline/0007_unsafe_trait.txt b/crates/ra_syntax/tests/data/parser/inline/0007_unsafe_trait.txt
index fb97cc042..fb97cc042 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0007_unsafe_trait.txt
+++ b/crates/ra_syntax/tests/data/parser/inline/0007_unsafe_trait.txt
diff --git a/crates/libsyntax2/tests/data/parser/inline/0008_unsafe_impl.rs b/crates/ra_syntax/tests/data/parser/inline/0008_unsafe_impl.rs
index 41055f41d..41055f41d 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0008_unsafe_impl.rs
+++ b/crates/ra_syntax/tests/data/parser/inline/0008_unsafe_impl.rs
diff --git a/crates/libsyntax2/tests/data/parser/inline/0008_unsafe_impl.txt b/crates/ra_syntax/tests/data/parser/inline/0008_unsafe_impl.txt
index fa596394f..fa596394f 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0008_unsafe_impl.txt
+++ b/crates/ra_syntax/tests/data/parser/inline/0008_unsafe_impl.txt
diff --git a/crates/libsyntax2/tests/data/parser/inline/0009_unsafe_auto_trait.rs b/crates/ra_syntax/tests/data/parser/inline/0009_unsafe_auto_trait.rs
index 03d29f324..03d29f324 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0009_unsafe_auto_trait.rs
+++ b/crates/ra_syntax/tests/data/parser/inline/0009_unsafe_auto_trait.rs
diff --git a/crates/libsyntax2/tests/data/parser/inline/0009_unsafe_auto_trait.txt b/crates/ra_syntax/tests/data/parser/inline/0009_unsafe_auto_trait.txt
index e642bbf80..e642bbf80 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0009_unsafe_auto_trait.txt
+++ b/crates/ra_syntax/tests/data/parser/inline/0009_unsafe_auto_trait.txt
diff --git a/crates/libsyntax2/tests/data/parser/inline/0010_unsafe_default_impl.rs b/crates/ra_syntax/tests/data/parser/inline/0010_unsafe_default_impl.rs
index 9cd6c57bd..9cd6c57bd 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0010_unsafe_default_impl.rs
+++ b/crates/ra_syntax/tests/data/parser/inline/0010_unsafe_default_impl.rs
diff --git a/crates/libsyntax2/tests/data/parser/inline/0010_unsafe_default_impl.txt b/crates/ra_syntax/tests/data/parser/inline/0010_unsafe_default_impl.txt
index 99d33a902..99d33a902 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0010_unsafe_default_impl.txt
+++ b/crates/ra_syntax/tests/data/parser/inline/0010_unsafe_default_impl.txt
diff --git a/crates/libsyntax2/tests/data/parser/inline/0011_unsafe_fn.rs b/crates/ra_syntax/tests/data/parser/inline/0011_unsafe_fn.rs
index 33cfc4cd7..33cfc4cd7 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0011_unsafe_fn.rs
+++ b/crates/ra_syntax/tests/data/parser/inline/0011_unsafe_fn.rs
diff --git a/crates/libsyntax2/tests/data/parser/inline/0011_unsafe_fn.txt b/crates/ra_syntax/tests/data/parser/inline/0011_unsafe_fn.txt
index 39ec53b26..39ec53b26 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0011_unsafe_fn.txt
+++ b/crates/ra_syntax/tests/data/parser/inline/0011_unsafe_fn.txt
diff --git a/crates/libsyntax2/tests/data/parser/inline/0012_unsafe_extern_fn.rs b/crates/ra_syntax/tests/data/parser/inline/0012_unsafe_extern_fn.rs
index 1295c2cd2..1295c2cd2 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0012_unsafe_extern_fn.rs
+++ b/crates/ra_syntax/tests/data/parser/inline/0012_unsafe_extern_fn.rs
diff --git a/crates/libsyntax2/tests/data/parser/inline/0012_unsafe_extern_fn.txt b/crates/ra_syntax/tests/data/parser/inline/0012_unsafe_extern_fn.txt
index 54e296ed6..54e296ed6 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0012_unsafe_extern_fn.txt
+++ b/crates/ra_syntax/tests/data/parser/inline/0012_unsafe_extern_fn.txt
diff --git a/crates/libsyntax2/tests/data/parser/inline/0013_unsafe_block_in_mod.rs b/crates/ra_syntax/tests/data/parser/inline/0013_unsafe_block_in_mod.rs
index 26141e904..26141e904 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0013_unsafe_block_in_mod.rs
+++ b/crates/ra_syntax/tests/data/parser/inline/0013_unsafe_block_in_mod.rs
diff --git a/crates/libsyntax2/tests/data/parser/inline/0013_unsafe_block_in_mod.txt b/crates/ra_syntax/tests/data/parser/inline/0013_unsafe_block_in_mod.txt
index 9825e5ace..9825e5ace 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0013_unsafe_block_in_mod.txt
+++ b/crates/ra_syntax/tests/data/parser/inline/0013_unsafe_block_in_mod.txt
diff --git a/crates/libsyntax2/tests/data/parser/inline/0014_type_item_type_params.rs b/crates/ra_syntax/tests/data/parser/inline/0014_type_item_type_params.rs
index defd110c4..defd110c4 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0014_type_item_type_params.rs
+++ b/crates/ra_syntax/tests/data/parser/inline/0014_type_item_type_params.rs
diff --git a/crates/libsyntax2/tests/data/parser/inline/0014_type_item_type_params.txt b/crates/ra_syntax/tests/data/parser/inline/0014_type_item_type_params.txt
index bf65e8a37..bf65e8a37 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0014_type_item_type_params.txt
+++ b/crates/ra_syntax/tests/data/parser/inline/0014_type_item_type_params.txt
diff --git a/crates/libsyntax2/tests/data/parser/inline/0015_type_item.rs b/crates/ra_syntax/tests/data/parser/inline/0015_type_item.rs
index 04c0344fa..04c0344fa 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0015_type_item.rs
+++ b/crates/ra_syntax/tests/data/parser/inline/0015_type_item.rs
diff --git a/crates/libsyntax2/tests/data/parser/inline/0015_type_item.txt b/crates/ra_syntax/tests/data/parser/inline/0015_type_item.txt
index 71048bcc5..71048bcc5 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0015_type_item.txt
+++ b/crates/ra_syntax/tests/data/parser/inline/0015_type_item.txt
diff --git a/crates/libsyntax2/tests/data/parser/inline/0016_type_item_where_clause.rs b/crates/ra_syntax/tests/data/parser/inline/0016_type_item_where_clause.rs
index a602d07f0..a602d07f0 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0016_type_item_where_clause.rs
+++ b/crates/ra_syntax/tests/data/parser/inline/0016_type_item_where_clause.rs
diff --git a/crates/libsyntax2/tests/data/parser/inline/0016_type_item_where_clause.txt b/crates/ra_syntax/tests/data/parser/inline/0016_type_item_where_clause.txt
index c3fca013e..c3fca013e 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0016_type_item_where_clause.txt
+++ b/crates/ra_syntax/tests/data/parser/inline/0016_type_item_where_clause.txt
diff --git a/crates/libsyntax2/tests/data/parser/inline/0017_paren_type.rs b/crates/ra_syntax/tests/data/parser/inline/0017_paren_type.rs
index 6e1b25101..6e1b25101 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0017_paren_type.rs
+++ b/crates/ra_syntax/tests/data/parser/inline/0017_paren_type.rs
diff --git a/crates/libsyntax2/tests/data/parser/inline/0017_paren_type.txt b/crates/ra_syntax/tests/data/parser/inline/0017_paren_type.txt
index 97e73fea1..97e73fea1 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0017_paren_type.txt
+++ b/crates/ra_syntax/tests/data/parser/inline/0017_paren_type.txt
diff --git a/crates/libsyntax2/tests/data/parser/inline/0018_unit_type.rs b/crates/ra_syntax/tests/data/parser/inline/0018_unit_type.rs
index c039cf7d3..c039cf7d3 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0018_unit_type.rs
+++ b/crates/ra_syntax/tests/data/parser/inline/0018_unit_type.rs
diff --git a/crates/libsyntax2/tests/data/parser/inline/0018_unit_type.txt b/crates/ra_syntax/tests/data/parser/inline/0018_unit_type.txt
index 5d04d42fc..5d04d42fc 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0018_unit_type.txt
+++ b/crates/ra_syntax/tests/data/parser/inline/0018_unit_type.txt
diff --git a/crates/libsyntax2/tests/data/parser/inline/0019_singleton_tuple_type.rs b/crates/ra_syntax/tests/data/parser/inline/0019_singleton_tuple_type.rs
index cb66bad24..cb66bad24 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0019_singleton_tuple_type.rs
+++ b/crates/ra_syntax/tests/data/parser/inline/0019_singleton_tuple_type.rs
diff --git a/crates/libsyntax2/tests/data/parser/inline/0019_singleton_tuple_type.txt b/crates/ra_syntax/tests/data/parser/inline/0019_singleton_tuple_type.txt
index 2cd8be9ab..2cd8be9ab 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0019_singleton_tuple_type.txt
+++ b/crates/ra_syntax/tests/data/parser/inline/0019_singleton_tuple_type.txt
diff --git a/crates/libsyntax2/tests/data/parser/inline/0020_never_type.rs b/crates/ra_syntax/tests/data/parser/inline/0020_never_type.rs
index de399fcf4..de399fcf4 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0020_never_type.rs
+++ b/crates/ra_syntax/tests/data/parser/inline/0020_never_type.rs
diff --git a/crates/libsyntax2/tests/data/parser/inline/0020_never_type.txt b/crates/ra_syntax/tests/data/parser/inline/0020_never_type.txt
index 6205d9669..6205d9669 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0020_never_type.txt
+++ b/crates/ra_syntax/tests/data/parser/inline/0020_never_type.txt
diff --git a/crates/libsyntax2/tests/data/parser/inline/0021_pointer_type_no_mutability.rs b/crates/ra_syntax/tests/data/parser/inline/0021_pointer_type_no_mutability.rs
index fae705131..fae705131 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0021_pointer_type_no_mutability.rs
+++ b/crates/ra_syntax/tests/data/parser/inline/0021_pointer_type_no_mutability.rs
diff --git a/crates/libsyntax2/tests/data/parser/inline/0021_pointer_type_no_mutability.txt b/crates/ra_syntax/tests/data/parser/inline/0021_pointer_type_no_mutability.txt
index 23e68557a..23e68557a 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0021_pointer_type_no_mutability.txt
+++ b/crates/ra_syntax/tests/data/parser/inline/0021_pointer_type_no_mutability.txt
diff --git a/crates/libsyntax2/tests/data/parser/inline/0022_pointer_type_mut.rs b/crates/ra_syntax/tests/data/parser/inline/0022_pointer_type_mut.rs
index 04b2bb9ba..04b2bb9ba 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0022_pointer_type_mut.rs
+++ b/crates/ra_syntax/tests/data/parser/inline/0022_pointer_type_mut.rs
diff --git a/crates/libsyntax2/tests/data/parser/inline/0022_pointer_type_mut.txt b/crates/ra_syntax/tests/data/parser/inline/0022_pointer_type_mut.txt
index 33f5ad8b4..33f5ad8b4 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0022_pointer_type_mut.txt
+++ b/crates/ra_syntax/tests/data/parser/inline/0022_pointer_type_mut.txt
diff --git a/crates/libsyntax2/tests/data/parser/inline/0023_array_type_missing_semi.rs b/crates/ra_syntax/tests/data/parser/inline/0023_array_type_missing_semi.rs
index a94851443..a94851443 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0023_array_type_missing_semi.rs
+++ b/crates/ra_syntax/tests/data/parser/inline/0023_array_type_missing_semi.rs
diff --git a/crates/libsyntax2/tests/data/parser/inline/0023_array_type_missing_semi.txt b/crates/ra_syntax/tests/data/parser/inline/0023_array_type_missing_semi.txt
index 90bdc5d2e..90bdc5d2e 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0023_array_type_missing_semi.txt
+++ b/crates/ra_syntax/tests/data/parser/inline/0023_array_type_missing_semi.txt
diff --git a/crates/libsyntax2/tests/data/parser/inline/0024_array_type.rs b/crates/ra_syntax/tests/data/parser/inline/0024_array_type.rs
index 27eb22f22..27eb22f22 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0024_array_type.rs
+++ b/crates/ra_syntax/tests/data/parser/inline/0024_array_type.rs
diff --git a/crates/libsyntax2/tests/data/parser/inline/0024_array_type.txt b/crates/ra_syntax/tests/data/parser/inline/0024_array_type.txt
index 809c86974..809c86974 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0024_array_type.txt
+++ b/crates/ra_syntax/tests/data/parser/inline/0024_array_type.txt
diff --git a/crates/libsyntax2/tests/data/parser/inline/0025_slice_type.rs b/crates/ra_syntax/tests/data/parser/inline/0025_slice_type.rs
index 4da1af827..4da1af827 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0025_slice_type.rs
+++ b/crates/ra_syntax/tests/data/parser/inline/0025_slice_type.rs
diff --git a/crates/libsyntax2/tests/data/parser/inline/0025_slice_type.txt b/crates/ra_syntax/tests/data/parser/inline/0025_slice_type.txt
index 978530a6a..978530a6a 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0025_slice_type.txt
+++ b/crates/ra_syntax/tests/data/parser/inline/0025_slice_type.txt
diff --git a/crates/libsyntax2/tests/data/parser/inline/0026_reference_type;.rs b/crates/ra_syntax/tests/data/parser/inline/0026_reference_type;.rs
index 3ac0badab..3ac0badab 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0026_reference_type;.rs
+++ b/crates/ra_syntax/tests/data/parser/inline/0026_reference_type;.rs
diff --git a/crates/libsyntax2/tests/data/parser/inline/0026_reference_type;.txt b/crates/ra_syntax/tests/data/parser/inline/0026_reference_type;.txt
index ff27ce5dd..ff27ce5dd 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0026_reference_type;.txt
+++ b/crates/ra_syntax/tests/data/parser/inline/0026_reference_type;.txt
diff --git a/crates/libsyntax2/tests/data/parser/inline/0027_placeholder_type.rs b/crates/ra_syntax/tests/data/parser/inline/0027_placeholder_type.rs
index 7952dbd57..7952dbd57 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0027_placeholder_type.rs
+++ b/crates/ra_syntax/tests/data/parser/inline/0027_placeholder_type.rs
diff --git a/crates/libsyntax2/tests/data/parser/inline/0027_placeholder_type.txt b/crates/ra_syntax/tests/data/parser/inline/0027_placeholder_type.txt
index 538e4e69c..538e4e69c 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0027_placeholder_type.txt
+++ b/crates/ra_syntax/tests/data/parser/inline/0027_placeholder_type.txt
diff --git a/crates/libsyntax2/tests/data/parser/inline/0028_fn_pointer_type.rs b/crates/ra_syntax/tests/data/parser/inline/0028_fn_pointer_type.rs
index c9bf3bdb4..c9bf3bdb4 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0028_fn_pointer_type.rs
+++ b/crates/ra_syntax/tests/data/parser/inline/0028_fn_pointer_type.rs
diff --git a/crates/libsyntax2/tests/data/parser/inline/0028_fn_pointer_type.txt b/crates/ra_syntax/tests/data/parser/inline/0028_fn_pointer_type.txt
index 4dba83eb5..4dba83eb5 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0028_fn_pointer_type.txt
+++ b/crates/ra_syntax/tests/data/parser/inline/0028_fn_pointer_type.txt
diff --git a/crates/libsyntax2/tests/data/parser/inline/0029_fn_pointer_type_missing_fn.rs b/crates/ra_syntax/tests/data/parser/inline/0029_fn_pointer_type_missing_fn.rs
index f014914ff..f014914ff 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0029_fn_pointer_type_missing_fn.rs
+++ b/crates/ra_syntax/tests/data/parser/inline/0029_fn_pointer_type_missing_fn.rs
diff --git a/crates/libsyntax2/tests/data/parser/inline/0029_fn_pointer_type_missing_fn.txt b/crates/ra_syntax/tests/data/parser/inline/0029_fn_pointer_type_missing_fn.txt
index fa0771ab1..fa0771ab1 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0029_fn_pointer_type_missing_fn.txt
+++ b/crates/ra_syntax/tests/data/parser/inline/0029_fn_pointer_type_missing_fn.txt
diff --git a/crates/libsyntax2/tests/data/parser/inline/0030_fn_pointer_type_with_ret.rs b/crates/ra_syntax/tests/data/parser/inline/0030_fn_pointer_type_with_ret.rs
index e3ba5e87f..e3ba5e87f 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0030_fn_pointer_type_with_ret.rs
+++ b/crates/ra_syntax/tests/data/parser/inline/0030_fn_pointer_type_with_ret.rs
diff --git a/crates/libsyntax2/tests/data/parser/inline/0030_fn_pointer_type_with_ret.txt b/crates/ra_syntax/tests/data/parser/inline/0030_fn_pointer_type_with_ret.txt
index 203839636..203839636 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0030_fn_pointer_type_with_ret.txt
+++ b/crates/ra_syntax/tests/data/parser/inline/0030_fn_pointer_type_with_ret.txt
diff --git a/crates/libsyntax2/tests/data/parser/inline/0031_for_type.rs b/crates/ra_syntax/tests/data/parser/inline/0031_for_type.rs
index 4d6a18c6b..4d6a18c6b 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0031_for_type.rs
+++ b/crates/ra_syntax/tests/data/parser/inline/0031_for_type.rs
diff --git a/crates/libsyntax2/tests/data/parser/inline/0031_for_type.txt b/crates/ra_syntax/tests/data/parser/inline/0031_for_type.txt
index f6b962b2c..f6b962b2c 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0031_for_type.txt
+++ b/crates/ra_syntax/tests/data/parser/inline/0031_for_type.txt
diff --git a/crates/libsyntax2/tests/data/parser/inline/0032_path_type.rs b/crates/ra_syntax/tests/data/parser/inline/0032_path_type.rs
index bf94f32e1..bf94f32e1 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0032_path_type.rs
+++ b/crates/ra_syntax/tests/data/parser/inline/0032_path_type.rs
diff --git a/crates/libsyntax2/tests/data/parser/inline/0032_path_type.txt b/crates/ra_syntax/tests/data/parser/inline/0032_path_type.txt
index b0a110a2c..b0a110a2c 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0032_path_type.txt
+++ b/crates/ra_syntax/tests/data/parser/inline/0032_path_type.txt
diff --git a/crates/libsyntax2/tests/data/parser/inline/0034_bind_pat.rs b/crates/ra_syntax/tests/data/parser/inline/0034_bind_pat.rs
index 820a9e72c..820a9e72c 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0034_bind_pat.rs
+++ b/crates/ra_syntax/tests/data/parser/inline/0034_bind_pat.rs
diff --git a/crates/libsyntax2/tests/data/parser/inline/0034_bind_pat.txt b/crates/ra_syntax/tests/data/parser/inline/0034_bind_pat.txt
index 9adc89b7c..9adc89b7c 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0034_bind_pat.txt
+++ b/crates/ra_syntax/tests/data/parser/inline/0034_bind_pat.txt
diff --git a/crates/libsyntax2/tests/data/parser/inline/0035_ref_pat.rs b/crates/ra_syntax/tests/data/parser/inline/0035_ref_pat.rs
index de41f5cae..de41f5cae 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0035_ref_pat.rs
+++ b/crates/ra_syntax/tests/data/parser/inline/0035_ref_pat.rs
diff --git a/crates/libsyntax2/tests/data/parser/inline/0035_ref_pat.txt b/crates/ra_syntax/tests/data/parser/inline/0035_ref_pat.txt
index a625637cd..a625637cd 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0035_ref_pat.txt
+++ b/crates/ra_syntax/tests/data/parser/inline/0035_ref_pat.txt
diff --git a/crates/libsyntax2/tests/data/parser/inline/0036_placeholder_pat.rs b/crates/ra_syntax/tests/data/parser/inline/0036_placeholder_pat.rs
index 4d719c433..4d719c433 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0036_placeholder_pat.rs
+++ b/crates/ra_syntax/tests/data/parser/inline/0036_placeholder_pat.rs
diff --git a/crates/libsyntax2/tests/data/parser/inline/0036_placeholder_pat.txt b/crates/ra_syntax/tests/data/parser/inline/0036_placeholder_pat.txt
index e89ff4e7c..e89ff4e7c 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0036_placeholder_pat.txt
+++ b/crates/ra_syntax/tests/data/parser/inline/0036_placeholder_pat.txt
diff --git a/crates/libsyntax2/tests/data/parser/inline/0037_crate_visibility.rs b/crates/ra_syntax/tests/data/parser/inline/0037_crate_visibility.rs
index faeefde94..faeefde94 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0037_crate_visibility.rs
+++ b/crates/ra_syntax/tests/data/parser/inline/0037_crate_visibility.rs
diff --git a/crates/libsyntax2/tests/data/parser/inline/0037_crate_visibility.txt b/crates/ra_syntax/tests/data/parser/inline/0037_crate_visibility.txt
index 3b5fbf95d..3b5fbf95d 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0037_crate_visibility.txt
+++ b/crates/ra_syntax/tests/data/parser/inline/0037_crate_visibility.txt
diff --git a/crates/libsyntax2/tests/data/parser/inline/0038_function_ret_type.rs b/crates/ra_syntax/tests/data/parser/inline/0038_function_ret_type.rs
index d22d8cada..d22d8cada 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0038_function_ret_type.rs
+++ b/crates/ra_syntax/tests/data/parser/inline/0038_function_ret_type.rs
diff --git a/crates/libsyntax2/tests/data/parser/inline/0038_function_ret_type.txt b/crates/ra_syntax/tests/data/parser/inline/0038_function_ret_type.txt
index a3d235ce1..a3d235ce1 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0038_function_ret_type.txt
+++ b/crates/ra_syntax/tests/data/parser/inline/0038_function_ret_type.txt
diff --git a/crates/libsyntax2/tests/data/parser/inline/0039_path_expr.rs b/crates/ra_syntax/tests/data/parser/inline/0039_path_expr.rs
index 333ebabef..333ebabef 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0039_path_expr.rs
+++ b/crates/ra_syntax/tests/data/parser/inline/0039_path_expr.rs
diff --git a/crates/libsyntax2/tests/data/parser/inline/0039_path_expr.txt b/crates/ra_syntax/tests/data/parser/inline/0039_path_expr.txt
index 618afc0a9..618afc0a9 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0039_path_expr.txt
+++ b/crates/ra_syntax/tests/data/parser/inline/0039_path_expr.txt
diff --git a/crates/libsyntax2/tests/data/parser/inline/0040_expr_literals.rs b/crates/ra_syntax/tests/data/parser/inline/0040_expr_literals.rs
index 2e11a5a6e..2e11a5a6e 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0040_expr_literals.rs
+++ b/crates/ra_syntax/tests/data/parser/inline/0040_expr_literals.rs
diff --git a/crates/libsyntax2/tests/data/parser/inline/0040_expr_literals.txt b/crates/ra_syntax/tests/data/parser/inline/0040_expr_literals.txt
index 8105ee25a..8105ee25a 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0040_expr_literals.txt
+++ b/crates/ra_syntax/tests/data/parser/inline/0040_expr_literals.txt
diff --git a/crates/libsyntax2/tests/data/parser/inline/0041_type_param_bounds.rs b/crates/ra_syntax/tests/data/parser/inline/0041_type_param_bounds.rs
index 919bde0ee..919bde0ee 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0041_type_param_bounds.rs
+++ b/crates/ra_syntax/tests/data/parser/inline/0041_type_param_bounds.rs
diff --git a/crates/libsyntax2/tests/data/parser/inline/0041_type_param_bounds.txt b/crates/ra_syntax/tests/data/parser/inline/0041_type_param_bounds.txt
index 549b571c2..549b571c2 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0041_type_param_bounds.txt
+++ b/crates/ra_syntax/tests/data/parser/inline/0041_type_param_bounds.txt
diff --git a/crates/libsyntax2/tests/data/parser/inline/0042_type_param_default.rs b/crates/ra_syntax/tests/data/parser/inline/0042_type_param_default.rs
index 540eacb02..540eacb02 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0042_type_param_default.rs
+++ b/crates/ra_syntax/tests/data/parser/inline/0042_type_param_default.rs
diff --git a/crates/libsyntax2/tests/data/parser/inline/0042_type_param_default.txt b/crates/ra_syntax/tests/data/parser/inline/0042_type_param_default.txt
index a75b7ed0a..a75b7ed0a 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0042_type_param_default.txt
+++ b/crates/ra_syntax/tests/data/parser/inline/0042_type_param_default.txt
diff --git a/crates/libsyntax2/tests/data/parser/inline/0043_call_expr.rs b/crates/ra_syntax/tests/data/parser/inline/0043_call_expr.rs
index 0c9a20718..0c9a20718 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0043_call_expr.rs
+++ b/crates/ra_syntax/tests/data/parser/inline/0043_call_expr.rs
diff --git a/crates/libsyntax2/tests/data/parser/inline/0043_call_expr.txt b/crates/ra_syntax/tests/data/parser/inline/0043_call_expr.txt
index f8e31045a..f8e31045a 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0043_call_expr.txt
+++ b/crates/ra_syntax/tests/data/parser/inline/0043_call_expr.txt
diff --git a/crates/libsyntax2/tests/data/parser/inline/0044_ref_expr.rs b/crates/ra_syntax/tests/data/parser/inline/0044_ref_expr.rs
index 2dac6be95..2dac6be95 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0044_ref_expr.rs
+++ b/crates/ra_syntax/tests/data/parser/inline/0044_ref_expr.rs
diff --git a/crates/libsyntax2/tests/data/parser/inline/0044_ref_expr.txt b/crates/ra_syntax/tests/data/parser/inline/0044_ref_expr.txt
index 77f2ca22c..77f2ca22c 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0044_ref_expr.txt
+++ b/crates/ra_syntax/tests/data/parser/inline/0044_ref_expr.txt
diff --git a/crates/libsyntax2/tests/data/parser/inline/0045_block.rs b/crates/ra_syntax/tests/data/parser/inline/0045_block.rs
index 81f44c533..81f44c533 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0045_block.rs
+++ b/crates/ra_syntax/tests/data/parser/inline/0045_block.rs
diff --git a/crates/libsyntax2/tests/data/parser/inline/0045_block.txt b/crates/ra_syntax/tests/data/parser/inline/0045_block.txt
index e6c841f21..e6c841f21 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0045_block.txt
+++ b/crates/ra_syntax/tests/data/parser/inline/0045_block.txt
diff --git a/crates/libsyntax2/tests/data/parser/inline/0046_default_impl.rs b/crates/ra_syntax/tests/data/parser/inline/0046_default_impl.rs
index ef6aa84a2..ef6aa84a2 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0046_default_impl.rs
+++ b/crates/ra_syntax/tests/data/parser/inline/0046_default_impl.rs
diff --git a/crates/libsyntax2/tests/data/parser/inline/0046_default_impl.txt b/crates/ra_syntax/tests/data/parser/inline/0046_default_impl.txt
index 19fe5ca85..19fe5ca85 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0046_default_impl.txt
+++ b/crates/ra_syntax/tests/data/parser/inline/0046_default_impl.txt
diff --git a/crates/libsyntax2/tests/data/parser/inline/0047_impl_item.rs b/crates/ra_syntax/tests/data/parser/inline/0047_impl_item.rs
index d6337f6b3..d6337f6b3 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0047_impl_item.rs
+++ b/crates/ra_syntax/tests/data/parser/inline/0047_impl_item.rs
diff --git a/crates/libsyntax2/tests/data/parser/inline/0047_impl_item.txt b/crates/ra_syntax/tests/data/parser/inline/0047_impl_item.txt
index 6419243e2..6419243e2 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0047_impl_item.txt
+++ b/crates/ra_syntax/tests/data/parser/inline/0047_impl_item.txt
diff --git a/crates/libsyntax2/tests/data/parser/inline/0048_impl_item_neg.rs b/crates/ra_syntax/tests/data/parser/inline/0048_impl_item_neg.rs
index b7527c870..b7527c870 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0048_impl_item_neg.rs
+++ b/crates/ra_syntax/tests/data/parser/inline/0048_impl_item_neg.rs
diff --git a/crates/libsyntax2/tests/data/parser/inline/0048_impl_item_neg.txt b/crates/ra_syntax/tests/data/parser/inline/0048_impl_item_neg.txt
index 6739f9c55..6739f9c55 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0048_impl_item_neg.txt
+++ b/crates/ra_syntax/tests/data/parser/inline/0048_impl_item_neg.txt
diff --git a/crates/libsyntax2/tests/data/parser/inline/0049_trait_item_list.rs b/crates/ra_syntax/tests/data/parser/inline/0049_trait_item_list.rs
index a5ec3239f..a5ec3239f 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0049_trait_item_list.rs
+++ b/crates/ra_syntax/tests/data/parser/inline/0049_trait_item_list.rs
diff --git a/crates/libsyntax2/tests/data/parser/inline/0049_trait_item_list.txt b/crates/ra_syntax/tests/data/parser/inline/0049_trait_item_list.txt
index 72d9220e8..72d9220e8 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0049_trait_item_list.txt
+++ b/crates/ra_syntax/tests/data/parser/inline/0049_trait_item_list.txt
diff --git a/crates/libsyntax2/tests/data/parser/inline/0050_let_stmt;.rs b/crates/ra_syntax/tests/data/parser/inline/0050_let_stmt;.rs
index 0a9af907f..0a9af907f 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0050_let_stmt;.rs
+++ b/crates/ra_syntax/tests/data/parser/inline/0050_let_stmt;.rs
diff --git a/crates/libsyntax2/tests/data/parser/inline/0050_let_stmt;.txt b/crates/ra_syntax/tests/data/parser/inline/0050_let_stmt;.txt
index 30dc83454..30dc83454 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0050_let_stmt;.txt
+++ b/crates/ra_syntax/tests/data/parser/inline/0050_let_stmt;.txt
diff --git a/crates/libsyntax2/tests/data/parser/inline/0051_method_call_expr.rs b/crates/ra_syntax/tests/data/parser/inline/0051_method_call_expr.rs
index 1a3aa35ae..1a3aa35ae 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0051_method_call_expr.rs
+++ b/crates/ra_syntax/tests/data/parser/inline/0051_method_call_expr.rs
diff --git a/crates/libsyntax2/tests/data/parser/inline/0051_method_call_expr.txt b/crates/ra_syntax/tests/data/parser/inline/0051_method_call_expr.txt
index 530c80fa8..530c80fa8 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0051_method_call_expr.txt
+++ b/crates/ra_syntax/tests/data/parser/inline/0051_method_call_expr.txt
diff --git a/crates/libsyntax2/tests/data/parser/inline/0052_field_expr.rs b/crates/ra_syntax/tests/data/parser/inline/0052_field_expr.rs
index 3e69538e5..3e69538e5 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0052_field_expr.rs
+++ b/crates/ra_syntax/tests/data/parser/inline/0052_field_expr.rs
diff --git a/crates/libsyntax2/tests/data/parser/inline/0052_field_expr.txt b/crates/ra_syntax/tests/data/parser/inline/0052_field_expr.txt
index 9086219ca..9086219ca 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0052_field_expr.txt
+++ b/crates/ra_syntax/tests/data/parser/inline/0052_field_expr.txt
diff --git a/crates/libsyntax2/tests/data/parser/inline/0053_block_items.rs b/crates/ra_syntax/tests/data/parser/inline/0053_block_items.rs
index d9868718c..d9868718c 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0053_block_items.rs
+++ b/crates/ra_syntax/tests/data/parser/inline/0053_block_items.rs
diff --git a/crates/libsyntax2/tests/data/parser/inline/0053_block_items.txt b/crates/ra_syntax/tests/data/parser/inline/0053_block_items.txt
index 20122d763..20122d763 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0053_block_items.txt
+++ b/crates/ra_syntax/tests/data/parser/inline/0053_block_items.txt
diff --git a/crates/libsyntax2/tests/data/parser/inline/0054_field_pat_list.rs b/crates/ra_syntax/tests/data/parser/inline/0054_field_pat_list.rs
index da3412fa8..da3412fa8 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0054_field_pat_list.rs
+++ b/crates/ra_syntax/tests/data/parser/inline/0054_field_pat_list.rs
diff --git a/crates/libsyntax2/tests/data/parser/inline/0054_field_pat_list.txt b/crates/ra_syntax/tests/data/parser/inline/0054_field_pat_list.txt
index 4df4ca35b..4df4ca35b 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0054_field_pat_list.txt
+++ b/crates/ra_syntax/tests/data/parser/inline/0054_field_pat_list.txt
diff --git a/crates/libsyntax2/tests/data/parser/inline/0055_self_param.rs b/crates/ra_syntax/tests/data/parser/inline/0055_self_param.rs
index 80c0a43f5..80c0a43f5 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0055_self_param.rs
+++ b/crates/ra_syntax/tests/data/parser/inline/0055_self_param.rs
diff --git a/crates/libsyntax2/tests/data/parser/inline/0055_self_param.txt b/crates/ra_syntax/tests/data/parser/inline/0055_self_param.txt
index f0e47c2dc..f0e47c2dc 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0055_self_param.txt
+++ b/crates/ra_syntax/tests/data/parser/inline/0055_self_param.txt
diff --git a/crates/libsyntax2/tests/data/parser/inline/0056_trait_item.rs b/crates/ra_syntax/tests/data/parser/inline/0056_trait_item.rs
index 4385afca9..4385afca9 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0056_trait_item.rs
+++ b/crates/ra_syntax/tests/data/parser/inline/0056_trait_item.rs
diff --git a/crates/libsyntax2/tests/data/parser/inline/0056_trait_item.txt b/crates/ra_syntax/tests/data/parser/inline/0056_trait_item.txt
index 40c77db4b..40c77db4b 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0056_trait_item.txt
+++ b/crates/ra_syntax/tests/data/parser/inline/0056_trait_item.txt
diff --git a/crates/libsyntax2/tests/data/parser/inline/0057_auto_trait.rs b/crates/ra_syntax/tests/data/parser/inline/0057_auto_trait.rs
index 72adf6035..72adf6035 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0057_auto_trait.rs
+++ b/crates/ra_syntax/tests/data/parser/inline/0057_auto_trait.rs
diff --git a/crates/libsyntax2/tests/data/parser/inline/0057_auto_trait.txt b/crates/ra_syntax/tests/data/parser/inline/0057_auto_trait.txt
index 0303d76bd..0303d76bd 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0057_auto_trait.txt
+++ b/crates/ra_syntax/tests/data/parser/inline/0057_auto_trait.txt
diff --git a/crates/libsyntax2/tests/data/parser/inline/0058_type_arg.rs b/crates/ra_syntax/tests/data/parser/inline/0058_type_arg.rs
index f0c8cc3a8..f0c8cc3a8 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0058_type_arg.rs
+++ b/crates/ra_syntax/tests/data/parser/inline/0058_type_arg.rs
diff --git a/crates/libsyntax2/tests/data/parser/inline/0058_type_arg.txt b/crates/ra_syntax/tests/data/parser/inline/0058_type_arg.txt
index aaf2924ba..aaf2924ba 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0058_type_arg.txt
+++ b/crates/ra_syntax/tests/data/parser/inline/0058_type_arg.txt
diff --git a/crates/libsyntax2/tests/data/parser/inline/0059_function_where_clause.rs b/crates/ra_syntax/tests/data/parser/inline/0059_function_where_clause.rs
index f0920b2a8..f0920b2a8 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0059_function_where_clause.rs
+++ b/crates/ra_syntax/tests/data/parser/inline/0059_function_where_clause.rs
diff --git a/crates/libsyntax2/tests/data/parser/inline/0059_function_where_clause.txt b/crates/ra_syntax/tests/data/parser/inline/0059_function_where_clause.txt
index 281e79deb..281e79deb 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0059_function_where_clause.txt
+++ b/crates/ra_syntax/tests/data/parser/inline/0059_function_where_clause.txt
diff --git a/crates/libsyntax2/tests/data/parser/inline/0060_function_type_params.rs b/crates/ra_syntax/tests/data/parser/inline/0060_function_type_params.rs
index 9df40ed39..9df40ed39 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0060_function_type_params.rs
+++ b/crates/ra_syntax/tests/data/parser/inline/0060_function_type_params.rs
diff --git a/crates/libsyntax2/tests/data/parser/inline/0060_function_type_params.txt b/crates/ra_syntax/tests/data/parser/inline/0060_function_type_params.txt
index b6fea5ab2..b6fea5ab2 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0060_function_type_params.txt
+++ b/crates/ra_syntax/tests/data/parser/inline/0060_function_type_params.txt
diff --git a/crates/libsyntax2/tests/data/parser/inline/0061_struct_lit.rs b/crates/ra_syntax/tests/data/parser/inline/0061_struct_lit.rs
index eb711f68a..eb711f68a 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0061_struct_lit.rs
+++ b/crates/ra_syntax/tests/data/parser/inline/0061_struct_lit.rs
diff --git a/crates/libsyntax2/tests/data/parser/inline/0061_struct_lit.txt b/crates/ra_syntax/tests/data/parser/inline/0061_struct_lit.txt
index cf6e881b2..cf6e881b2 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0061_struct_lit.txt
+++ b/crates/ra_syntax/tests/data/parser/inline/0061_struct_lit.txt
diff --git a/crates/libsyntax2/tests/data/parser/inline/0063_impl_trait_type.rs b/crates/ra_syntax/tests/data/parser/inline/0063_impl_trait_type.rs
index 54c5a7c46..54c5a7c46 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0063_impl_trait_type.rs
+++ b/crates/ra_syntax/tests/data/parser/inline/0063_impl_trait_type.rs
diff --git a/crates/libsyntax2/tests/data/parser/inline/0063_impl_trait_type.txt b/crates/ra_syntax/tests/data/parser/inline/0063_impl_trait_type.txt
index 68fce58ee..68fce58ee 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0063_impl_trait_type.txt
+++ b/crates/ra_syntax/tests/data/parser/inline/0063_impl_trait_type.txt
diff --git a/crates/libsyntax2/tests/data/parser/inline/0063_lambda_expr.txt b/crates/ra_syntax/tests/data/parser/inline/0063_lambda_expr.txt
index 93f6285ac..93f6285ac 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0063_lambda_expr.txt
+++ b/crates/ra_syntax/tests/data/parser/inline/0063_lambda_expr.txt
diff --git a/crates/libsyntax2/tests/data/parser/inline/0064_param_list.rs b/crates/ra_syntax/tests/data/parser/inline/0064_param_list.rs
index 9d55bedbb..9d55bedbb 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0064_param_list.rs
+++ b/crates/ra_syntax/tests/data/parser/inline/0064_param_list.rs
diff --git a/crates/libsyntax2/tests/data/parser/inline/0064_param_list.txt b/crates/ra_syntax/tests/data/parser/inline/0064_param_list.txt
index de547d699..de547d699 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0064_param_list.txt
+++ b/crates/ra_syntax/tests/data/parser/inline/0064_param_list.txt
diff --git a/crates/libsyntax2/tests/data/parser/inline/0065_if_expr.rs b/crates/ra_syntax/tests/data/parser/inline/0065_if_expr.rs
index 4b0d9af89..4b0d9af89 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0065_if_expr.rs
+++ b/crates/ra_syntax/tests/data/parser/inline/0065_if_expr.rs
diff --git a/crates/libsyntax2/tests/data/parser/inline/0065_if_expr.txt b/crates/ra_syntax/tests/data/parser/inline/0065_if_expr.txt
index ae1a8101e..ae1a8101e 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0065_if_expr.txt
+++ b/crates/ra_syntax/tests/data/parser/inline/0065_if_expr.txt
diff --git a/crates/libsyntax2/tests/data/parser/inline/0066_lambda_expr.rs b/crates/ra_syntax/tests/data/parser/inline/0066_lambda_expr.rs
index c20d29751..c20d29751 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0066_lambda_expr.rs
+++ b/crates/ra_syntax/tests/data/parser/inline/0066_lambda_expr.rs
diff --git a/crates/libsyntax2/tests/data/parser/inline/0066_lambda_expr.txt b/crates/ra_syntax/tests/data/parser/inline/0066_lambda_expr.txt
index 82aaf3897..82aaf3897 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0066_lambda_expr.txt
+++ b/crates/ra_syntax/tests/data/parser/inline/0066_lambda_expr.txt
diff --git a/crates/libsyntax2/tests/data/parser/inline/0067_block_expr.rs b/crates/ra_syntax/tests/data/parser/inline/0067_block_expr.rs
index 2fed74c5e..2fed74c5e 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0067_block_expr.rs
+++ b/crates/ra_syntax/tests/data/parser/inline/0067_block_expr.rs
diff --git a/crates/libsyntax2/tests/data/parser/inline/0067_block_expr.txt b/crates/ra_syntax/tests/data/parser/inline/0067_block_expr.txt
index 12a1ff49a..12a1ff49a 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0067_block_expr.txt
+++ b/crates/ra_syntax/tests/data/parser/inline/0067_block_expr.txt
diff --git a/crates/libsyntax2/tests/data/parser/inline/0068_pub_expr.rs b/crates/ra_syntax/tests/data/parser/inline/0068_pub_expr.rs
index d9d99d2d3..d9d99d2d3 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0068_pub_expr.rs
+++ b/crates/ra_syntax/tests/data/parser/inline/0068_pub_expr.rs
diff --git a/crates/libsyntax2/tests/data/parser/inline/0068_pub_expr.txt b/crates/ra_syntax/tests/data/parser/inline/0068_pub_expr.txt
index 5f179c3ca..5f179c3ca 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0068_pub_expr.txt
+++ b/crates/ra_syntax/tests/data/parser/inline/0068_pub_expr.txt
diff --git a/crates/libsyntax2/tests/data/parser/inline/0068_return_expr.rs b/crates/ra_syntax/tests/data/parser/inline/0068_return_expr.rs
index 5733666b6..5733666b6 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0068_return_expr.rs
+++ b/crates/ra_syntax/tests/data/parser/inline/0068_return_expr.rs
diff --git a/crates/libsyntax2/tests/data/parser/inline/0068_return_expr.txt b/crates/ra_syntax/tests/data/parser/inline/0068_return_expr.txt
index ead1ada96..ead1ada96 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0068_return_expr.txt
+++ b/crates/ra_syntax/tests/data/parser/inline/0068_return_expr.txt
diff --git a/crates/libsyntax2/tests/data/parser/inline/0069_match_arm.rs b/crates/ra_syntax/tests/data/parser/inline/0069_match_arm.rs
index 2c0e88414..2c0e88414 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0069_match_arm.rs
+++ b/crates/ra_syntax/tests/data/parser/inline/0069_match_arm.rs
diff --git a/crates/libsyntax2/tests/data/parser/inline/0069_match_arm.txt b/crates/ra_syntax/tests/data/parser/inline/0069_match_arm.txt
index 013d1716a..013d1716a 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0069_match_arm.txt
+++ b/crates/ra_syntax/tests/data/parser/inline/0069_match_arm.txt
diff --git a/crates/libsyntax2/tests/data/parser/inline/0070_match_expr.rs b/crates/ra_syntax/tests/data/parser/inline/0070_match_expr.rs
index c9205dfa3..c9205dfa3 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0070_match_expr.rs
+++ b/crates/ra_syntax/tests/data/parser/inline/0070_match_expr.rs
diff --git a/crates/libsyntax2/tests/data/parser/inline/0070_match_expr.txt b/crates/ra_syntax/tests/data/parser/inline/0070_match_expr.txt
index d7740e3cc..d7740e3cc 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0070_match_expr.txt
+++ b/crates/ra_syntax/tests/data/parser/inline/0070_match_expr.txt
diff --git a/crates/libsyntax2/tests/data/parser/inline/0071_tuple_pat_fields.rs b/crates/ra_syntax/tests/data/parser/inline/0071_tuple_pat_fields.rs
index 0dfe63629..0dfe63629 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0071_tuple_pat_fields.rs
+++ b/crates/ra_syntax/tests/data/parser/inline/0071_tuple_pat_fields.rs
diff --git a/crates/libsyntax2/tests/data/parser/inline/0071_tuple_pat_fields.txt b/crates/ra_syntax/tests/data/parser/inline/0071_tuple_pat_fields.txt
index 734e0726c..734e0726c 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0071_tuple_pat_fields.txt
+++ b/crates/ra_syntax/tests/data/parser/inline/0071_tuple_pat_fields.txt
diff --git a/crates/libsyntax2/tests/data/parser/inline/0072_path_part.rs b/crates/ra_syntax/tests/data/parser/inline/0072_path_part.rs
index f6e32c7c1..f6e32c7c1 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0072_path_part.rs
+++ b/crates/ra_syntax/tests/data/parser/inline/0072_path_part.rs
diff --git a/crates/libsyntax2/tests/data/parser/inline/0072_path_part.txt b/crates/ra_syntax/tests/data/parser/inline/0072_path_part.txt
index 1a8d1546d..1a8d1546d 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0072_path_part.txt
+++ b/crates/ra_syntax/tests/data/parser/inline/0072_path_part.txt
diff --git a/crates/libsyntax2/tests/data/parser/inline/0073_impl_item_list.rs b/crates/ra_syntax/tests/data/parser/inline/0073_impl_item_list.rs
index f10851487..f10851487 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0073_impl_item_list.rs
+++ b/crates/ra_syntax/tests/data/parser/inline/0073_impl_item_list.rs
diff --git a/crates/libsyntax2/tests/data/parser/inline/0073_impl_item_list.txt b/crates/ra_syntax/tests/data/parser/inline/0073_impl_item_list.txt
index 1f524f34a..1f524f34a 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0073_impl_item_list.txt
+++ b/crates/ra_syntax/tests/data/parser/inline/0073_impl_item_list.txt
diff --git a/crates/libsyntax2/tests/data/parser/inline/0074_unary_expr.rs b/crates/ra_syntax/tests/data/parser/inline/0074_unary_expr.rs
index f1c3f7118..f1c3f7118 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0074_unary_expr.rs
+++ b/crates/ra_syntax/tests/data/parser/inline/0074_unary_expr.rs
diff --git a/crates/libsyntax2/tests/data/parser/inline/0074_unary_expr.txt b/crates/ra_syntax/tests/data/parser/inline/0074_unary_expr.txt
index 4d77c8c11..4d77c8c11 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0074_unary_expr.txt
+++ b/crates/ra_syntax/tests/data/parser/inline/0074_unary_expr.txt
diff --git a/crates/libsyntax2/tests/data/parser/inline/0075_try_expr.rs b/crates/ra_syntax/tests/data/parser/inline/0075_try_expr.rs
index 8b74f7bc8..8b74f7bc8 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0075_try_expr.rs
+++ b/crates/ra_syntax/tests/data/parser/inline/0075_try_expr.rs
diff --git a/crates/libsyntax2/tests/data/parser/inline/0075_try_expr.txt b/crates/ra_syntax/tests/data/parser/inline/0075_try_expr.txt
index b80235146..b80235146 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0075_try_expr.txt
+++ b/crates/ra_syntax/tests/data/parser/inline/0075_try_expr.txt
diff --git a/crates/libsyntax2/tests/data/parser/inline/0076_cond.rs b/crates/ra_syntax/tests/data/parser/inline/0076_cond.rs
index fdb37ee6f..fdb37ee6f 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0076_cond.rs
+++ b/crates/ra_syntax/tests/data/parser/inline/0076_cond.rs
diff --git a/crates/libsyntax2/tests/data/parser/inline/0076_cond.txt b/crates/ra_syntax/tests/data/parser/inline/0076_cond.txt
index 1808f10fb..1808f10fb 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0076_cond.txt
+++ b/crates/ra_syntax/tests/data/parser/inline/0076_cond.txt
diff --git a/crates/libsyntax2/tests/data/parser/inline/0077_while_expr.rs b/crates/ra_syntax/tests/data/parser/inline/0077_while_expr.rs
index 293046a04..293046a04 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0077_while_expr.rs
+++ b/crates/ra_syntax/tests/data/parser/inline/0077_while_expr.rs
diff --git a/crates/libsyntax2/tests/data/parser/inline/0077_while_expr.txt b/crates/ra_syntax/tests/data/parser/inline/0077_while_expr.txt
index c73157c04..c73157c04 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0077_while_expr.txt
+++ b/crates/ra_syntax/tests/data/parser/inline/0077_while_expr.txt
diff --git a/crates/libsyntax2/tests/data/parser/inline/0078_mod_contents.rs b/crates/ra_syntax/tests/data/parser/inline/0078_mod_contents.rs
index 24a15c5c5..24a15c5c5 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0078_mod_contents.rs
+++ b/crates/ra_syntax/tests/data/parser/inline/0078_mod_contents.rs
diff --git a/crates/libsyntax2/tests/data/parser/inline/0078_mod_contents.txt b/crates/ra_syntax/tests/data/parser/inline/0078_mod_contents.txt
index 57b2b9372..57b2b9372 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0078_mod_contents.txt
+++ b/crates/ra_syntax/tests/data/parser/inline/0078_mod_contents.txt
diff --git a/crates/libsyntax2/tests/data/parser/inline/0079_cast_expr.rs b/crates/ra_syntax/tests/data/parser/inline/0079_cast_expr.rs
index 3e53d56d6..3e53d56d6 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0079_cast_expr.rs
+++ b/crates/ra_syntax/tests/data/parser/inline/0079_cast_expr.rs
diff --git a/crates/libsyntax2/tests/data/parser/inline/0079_cast_expr.txt b/crates/ra_syntax/tests/data/parser/inline/0079_cast_expr.txt
index 6d57078b3..6d57078b3 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0079_cast_expr.txt
+++ b/crates/ra_syntax/tests/data/parser/inline/0079_cast_expr.txt
diff --git a/crates/libsyntax2/tests/data/parser/inline/0080_tuple_expr.rs b/crates/ra_syntax/tests/data/parser/inline/0080_tuple_expr.rs
index e4f774280..e4f774280 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0080_tuple_expr.rs
+++ b/crates/ra_syntax/tests/data/parser/inline/0080_tuple_expr.rs
diff --git a/crates/libsyntax2/tests/data/parser/inline/0080_tuple_expr.txt b/crates/ra_syntax/tests/data/parser/inline/0080_tuple_expr.txt
index cf541411f..cf541411f 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0080_tuple_expr.txt
+++ b/crates/ra_syntax/tests/data/parser/inline/0080_tuple_expr.txt
diff --git a/crates/libsyntax2/tests/data/parser/inline/0081_index_expr.rs b/crates/ra_syntax/tests/data/parser/inline/0081_index_expr.rs
index b9ba78a6c..b9ba78a6c 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0081_index_expr.rs
+++ b/crates/ra_syntax/tests/data/parser/inline/0081_index_expr.rs
diff --git a/crates/libsyntax2/tests/data/parser/inline/0081_index_expr.txt b/crates/ra_syntax/tests/data/parser/inline/0081_index_expr.txt
index 4624aab23..4624aab23 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0081_index_expr.txt
+++ b/crates/ra_syntax/tests/data/parser/inline/0081_index_expr.txt
diff --git a/crates/libsyntax2/tests/data/parser/inline/0082_tuple_pat.rs b/crates/ra_syntax/tests/data/parser/inline/0082_tuple_pat.rs
index f785acd36..f785acd36 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0082_tuple_pat.rs
+++ b/crates/ra_syntax/tests/data/parser/inline/0082_tuple_pat.rs
diff --git a/crates/libsyntax2/tests/data/parser/inline/0082_tuple_pat.txt b/crates/ra_syntax/tests/data/parser/inline/0082_tuple_pat.txt
index 2d68a5ff2..2d68a5ff2 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0082_tuple_pat.txt
+++ b/crates/ra_syntax/tests/data/parser/inline/0082_tuple_pat.txt
diff --git a/crates/libsyntax2/tests/data/parser/inline/0083_postfix_range.rs b/crates/ra_syntax/tests/data/parser/inline/0083_postfix_range.rs
index c39fe8e68..c39fe8e68 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0083_postfix_range.rs
+++ b/crates/ra_syntax/tests/data/parser/inline/0083_postfix_range.rs
diff --git a/crates/libsyntax2/tests/data/parser/inline/0083_postfix_range.txt b/crates/ra_syntax/tests/data/parser/inline/0083_postfix_range.txt
index 475251ea7..475251ea7 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0083_postfix_range.txt
+++ b/crates/ra_syntax/tests/data/parser/inline/0083_postfix_range.txt
diff --git a/crates/libsyntax2/tests/data/parser/inline/0084_loop_expr.rs b/crates/ra_syntax/tests/data/parser/inline/0084_loop_expr.rs
index 9f078fa48..9f078fa48 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0084_loop_expr.rs
+++ b/crates/ra_syntax/tests/data/parser/inline/0084_loop_expr.rs
diff --git a/crates/libsyntax2/tests/data/parser/inline/0084_loop_expr.txt b/crates/ra_syntax/tests/data/parser/inline/0084_loop_expr.txt
index 5321fade9..5321fade9 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0084_loop_expr.txt
+++ b/crates/ra_syntax/tests/data/parser/inline/0084_loop_expr.txt
diff --git a/crates/libsyntax2/tests/data/parser/inline/0085_for_expr.rs b/crates/ra_syntax/tests/data/parser/inline/0085_for_expr.rs
index 972197d2a..972197d2a 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0085_for_expr.rs
+++ b/crates/ra_syntax/tests/data/parser/inline/0085_for_expr.rs
diff --git a/crates/libsyntax2/tests/data/parser/inline/0085_for_expr.txt b/crates/ra_syntax/tests/data/parser/inline/0085_for_expr.txt
index 7ddf8122f..7ddf8122f 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0085_for_expr.txt
+++ b/crates/ra_syntax/tests/data/parser/inline/0085_for_expr.txt
diff --git a/crates/libsyntax2/tests/data/parser/inline/0085_match_arms_commas.rs b/crates/ra_syntax/tests/data/parser/inline/0085_match_arms_commas.rs
index 1f25d577a..1f25d577a 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0085_match_arms_commas.rs
+++ b/crates/ra_syntax/tests/data/parser/inline/0085_match_arms_commas.rs
diff --git a/crates/libsyntax2/tests/data/parser/inline/0085_match_arms_commas.txt b/crates/ra_syntax/tests/data/parser/inline/0085_match_arms_commas.txt
index 560931645..560931645 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0085_match_arms_commas.txt
+++ b/crates/ra_syntax/tests/data/parser/inline/0085_match_arms_commas.txt
diff --git a/crates/libsyntax2/tests/data/parser/inline/0086_array_expr.rs b/crates/ra_syntax/tests/data/parser/inline/0086_array_expr.rs
index 4dc1999d1..4dc1999d1 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0086_array_expr.rs
+++ b/crates/ra_syntax/tests/data/parser/inline/0086_array_expr.rs
diff --git a/crates/libsyntax2/tests/data/parser/inline/0086_array_expr.txt b/crates/ra_syntax/tests/data/parser/inline/0086_array_expr.txt
index dcdeff609..dcdeff609 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0086_array_expr.txt
+++ b/crates/ra_syntax/tests/data/parser/inline/0086_array_expr.txt
diff --git a/crates/libsyntax2/tests/data/parser/inline/0086_no_semi_after_block.rs b/crates/ra_syntax/tests/data/parser/inline/0086_no_semi_after_block.rs
index d769da43d..d769da43d 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0086_no_semi_after_block.rs
+++ b/crates/ra_syntax/tests/data/parser/inline/0086_no_semi_after_block.rs
diff --git a/crates/libsyntax2/tests/data/parser/inline/0086_no_semi_after_block.txt b/crates/ra_syntax/tests/data/parser/inline/0086_no_semi_after_block.txt
index f1b0e2787..f1b0e2787 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0086_no_semi_after_block.txt
+++ b/crates/ra_syntax/tests/data/parser/inline/0086_no_semi_after_block.txt
diff --git a/crates/libsyntax2/tests/data/parser/inline/0087_stmt_postfix_expr_ambiguity.rs b/crates/ra_syntax/tests/data/parser/inline/0087_stmt_postfix_expr_ambiguity.rs
index 2edd578f9..2edd578f9 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0087_stmt_postfix_expr_ambiguity.rs
+++ b/crates/ra_syntax/tests/data/parser/inline/0087_stmt_postfix_expr_ambiguity.rs
diff --git a/crates/libsyntax2/tests/data/parser/inline/0087_stmt_postfix_expr_ambiguity.txt b/crates/ra_syntax/tests/data/parser/inline/0087_stmt_postfix_expr_ambiguity.txt
index 91edf3f84..91edf3f84 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0087_stmt_postfix_expr_ambiguity.txt
+++ b/crates/ra_syntax/tests/data/parser/inline/0087_stmt_postfix_expr_ambiguity.txt
diff --git a/crates/libsyntax2/tests/data/parser/inline/0088_stmt_bin_expr_ambiguity.rs b/crates/ra_syntax/tests/data/parser/inline/0088_stmt_bin_expr_ambiguity.rs
index 37b843742..37b843742 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0088_stmt_bin_expr_ambiguity.rs
+++ b/crates/ra_syntax/tests/data/parser/inline/0088_stmt_bin_expr_ambiguity.rs
diff --git a/crates/libsyntax2/tests/data/parser/inline/0088_stmt_bin_expr_ambiguity.txt b/crates/ra_syntax/tests/data/parser/inline/0088_stmt_bin_expr_ambiguity.txt
index ff1298acb..ff1298acb 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0088_stmt_bin_expr_ambiguity.txt
+++ b/crates/ra_syntax/tests/data/parser/inline/0088_stmt_bin_expr_ambiguity.txt
diff --git a/crates/libsyntax2/tests/data/parser/inline/0089_slice_pat.rs b/crates/ra_syntax/tests/data/parser/inline/0089_slice_pat.rs
index 7955973b9..7955973b9 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0089_slice_pat.rs
+++ b/crates/ra_syntax/tests/data/parser/inline/0089_slice_pat.rs
diff --git a/crates/libsyntax2/tests/data/parser/inline/0089_slice_pat.txt b/crates/ra_syntax/tests/data/parser/inline/0089_slice_pat.txt
index 99e8dd427..99e8dd427 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0089_slice_pat.txt
+++ b/crates/ra_syntax/tests/data/parser/inline/0089_slice_pat.txt
diff --git a/crates/libsyntax2/tests/data/parser/inline/0091_fn_decl.rs b/crates/ra_syntax/tests/data/parser/inline/0091_fn_decl.rs
index c9f74f7f5..c9f74f7f5 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0091_fn_decl.rs
+++ b/crates/ra_syntax/tests/data/parser/inline/0091_fn_decl.rs
diff --git a/crates/libsyntax2/tests/data/parser/inline/0091_fn_decl.txt b/crates/ra_syntax/tests/data/parser/inline/0091_fn_decl.txt
index c35bc8428..c35bc8428 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0091_fn_decl.txt
+++ b/crates/ra_syntax/tests/data/parser/inline/0091_fn_decl.txt
diff --git a/crates/libsyntax2/tests/data/parser/inline/0092_literal_pattern.rs b/crates/ra_syntax/tests/data/parser/inline/0092_literal_pattern.rs
index 16f674d9d..16f674d9d 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0092_literal_pattern.rs
+++ b/crates/ra_syntax/tests/data/parser/inline/0092_literal_pattern.rs
diff --git a/crates/libsyntax2/tests/data/parser/inline/0092_literal_pattern.txt b/crates/ra_syntax/tests/data/parser/inline/0092_literal_pattern.txt
index 3128bfd7d..3128bfd7d 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0092_literal_pattern.txt
+++ b/crates/ra_syntax/tests/data/parser/inline/0092_literal_pattern.txt
diff --git a/crates/libsyntax2/tests/data/parser/inline/0093_path_fn_trait_args.rs b/crates/ra_syntax/tests/data/parser/inline/0093_path_fn_trait_args.rs
index aef45e561..aef45e561 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0093_path_fn_trait_args.rs
+++ b/crates/ra_syntax/tests/data/parser/inline/0093_path_fn_trait_args.rs
diff --git a/crates/libsyntax2/tests/data/parser/inline/0093_path_fn_trait_args.txt b/crates/ra_syntax/tests/data/parser/inline/0093_path_fn_trait_args.txt
index 26a690d3a..26a690d3a 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0093_path_fn_trait_args.txt
+++ b/crates/ra_syntax/tests/data/parser/inline/0093_path_fn_trait_args.txt
diff --git a/crates/libsyntax2/tests/data/parser/inline/0094_range_pat.rs b/crates/ra_syntax/tests/data/parser/inline/0094_range_pat.rs
index 657467e75..657467e75 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0094_range_pat.rs
+++ b/crates/ra_syntax/tests/data/parser/inline/0094_range_pat.rs
diff --git a/crates/libsyntax2/tests/data/parser/inline/0094_range_pat.txt b/crates/ra_syntax/tests/data/parser/inline/0094_range_pat.txt
index 4f14d5431..4f14d5431 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0094_range_pat.txt
+++ b/crates/ra_syntax/tests/data/parser/inline/0094_range_pat.txt
diff --git a/crates/libsyntax2/tests/data/parser/inline/0095_path_type_with_bounds.rs b/crates/ra_syntax/tests/data/parser/inline/0095_path_type_with_bounds.rs
index 215210e27..215210e27 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0095_path_type_with_bounds.rs
+++ b/crates/ra_syntax/tests/data/parser/inline/0095_path_type_with_bounds.rs
diff --git a/crates/libsyntax2/tests/data/parser/inline/0095_path_type_with_bounds.txt b/crates/ra_syntax/tests/data/parser/inline/0095_path_type_with_bounds.txt
index 4b864f741..4b864f741 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0095_path_type_with_bounds.txt
+++ b/crates/ra_syntax/tests/data/parser/inline/0095_path_type_with_bounds.txt
diff --git a/crates/libsyntax2/tests/data/parser/inline/0096_value_parameters_no_patterns.rs b/crates/ra_syntax/tests/data/parser/inline/0096_value_parameters_no_patterns.rs
index d8c23c76a..d8c23c76a 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0096_value_parameters_no_patterns.rs
+++ b/crates/ra_syntax/tests/data/parser/inline/0096_value_parameters_no_patterns.rs
diff --git a/crates/libsyntax2/tests/data/parser/inline/0096_value_parameters_no_patterns.txt b/crates/ra_syntax/tests/data/parser/inline/0096_value_parameters_no_patterns.txt
index 3c8352067..3c8352067 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0096_value_parameters_no_patterns.txt
+++ b/crates/ra_syntax/tests/data/parser/inline/0096_value_parameters_no_patterns.txt
diff --git a/crates/libsyntax2/tests/data/parser/inline/0097_param_list_opt_patterns.rs b/crates/ra_syntax/tests/data/parser/inline/0097_param_list_opt_patterns.rs
index 9b93442c0..9b93442c0 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0097_param_list_opt_patterns.rs
+++ b/crates/ra_syntax/tests/data/parser/inline/0097_param_list_opt_patterns.rs
diff --git a/crates/libsyntax2/tests/data/parser/inline/0097_param_list_opt_patterns.txt b/crates/ra_syntax/tests/data/parser/inline/0097_param_list_opt_patterns.txt
index 39bab8dd2..39bab8dd2 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0097_param_list_opt_patterns.txt
+++ b/crates/ra_syntax/tests/data/parser/inline/0097_param_list_opt_patterns.txt
diff --git a/crates/libsyntax2/tests/data/parser/inline/0098_where_clause.rs b/crates/ra_syntax/tests/data/parser/inline/0098_where_clause.rs
index 592a005f9..592a005f9 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0098_where_clause.rs
+++ b/crates/ra_syntax/tests/data/parser/inline/0098_where_clause.rs
diff --git a/crates/libsyntax2/tests/data/parser/inline/0098_where_clause.txt b/crates/ra_syntax/tests/data/parser/inline/0098_where_clause.txt
index 9fe803554..9fe803554 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0098_where_clause.txt
+++ b/crates/ra_syntax/tests/data/parser/inline/0098_where_clause.txt
diff --git a/crates/libsyntax2/tests/data/parser/inline/0099_crate_keyword_vis.rs b/crates/ra_syntax/tests/data/parser/inline/0099_crate_keyword_vis.rs
index 660d927cf..660d927cf 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0099_crate_keyword_vis.rs
+++ b/crates/ra_syntax/tests/data/parser/inline/0099_crate_keyword_vis.rs
diff --git a/crates/libsyntax2/tests/data/parser/inline/0099_crate_keyword_vis.txt b/crates/ra_syntax/tests/data/parser/inline/0099_crate_keyword_vis.txt
index 96a4e9162..96a4e9162 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0099_crate_keyword_vis.txt
+++ b/crates/ra_syntax/tests/data/parser/inline/0099_crate_keyword_vis.txt
diff --git a/crates/libsyntax2/tests/data/parser/inline/0100_dyn_trait_type.rs b/crates/ra_syntax/tests/data/parser/inline/0100_dyn_trait_type.rs
index c3ecabb99..c3ecabb99 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0100_dyn_trait_type.rs
+++ b/crates/ra_syntax/tests/data/parser/inline/0100_dyn_trait_type.rs
diff --git a/crates/libsyntax2/tests/data/parser/inline/0100_dyn_trait_type.txt b/crates/ra_syntax/tests/data/parser/inline/0100_dyn_trait_type.txt
index c81ae5545..c81ae5545 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0100_dyn_trait_type.txt
+++ b/crates/ra_syntax/tests/data/parser/inline/0100_dyn_trait_type.txt
diff --git a/crates/libsyntax2/tests/data/parser/inline/0101_qual_paths.rs b/crates/ra_syntax/tests/data/parser/inline/0101_qual_paths.rs
index d140692e2..d140692e2 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0101_qual_paths.rs
+++ b/crates/ra_syntax/tests/data/parser/inline/0101_qual_paths.rs
diff --git a/crates/libsyntax2/tests/data/parser/inline/0101_qual_paths.txt b/crates/ra_syntax/tests/data/parser/inline/0101_qual_paths.txt
index 99516bf15..99516bf15 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0101_qual_paths.txt
+++ b/crates/ra_syntax/tests/data/parser/inline/0101_qual_paths.txt
diff --git a/crates/libsyntax2/tests/data/parser/inline/0102_full_range_expr.rs b/crates/ra_syntax/tests/data/parser/inline/0102_full_range_expr.rs
index ae21ad94c..ae21ad94c 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0102_full_range_expr.rs
+++ b/crates/ra_syntax/tests/data/parser/inline/0102_full_range_expr.rs
diff --git a/crates/libsyntax2/tests/data/parser/inline/0102_full_range_expr.txt b/crates/ra_syntax/tests/data/parser/inline/0102_full_range_expr.txt
index 19f77fb73..19f77fb73 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0102_full_range_expr.txt
+++ b/crates/ra_syntax/tests/data/parser/inline/0102_full_range_expr.txt
diff --git a/crates/libsyntax2/tests/data/parser/inline/0103_field_attrs.rs b/crates/ra_syntax/tests/data/parser/inline/0103_field_attrs.rs
index 4744d8ac0..4744d8ac0 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0103_field_attrs.rs
+++ b/crates/ra_syntax/tests/data/parser/inline/0103_field_attrs.rs
diff --git a/crates/libsyntax2/tests/data/parser/inline/0103_field_attrs.txt b/crates/ra_syntax/tests/data/parser/inline/0103_field_attrs.txt
index 420712e89..420712e89 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0103_field_attrs.txt
+++ b/crates/ra_syntax/tests/data/parser/inline/0103_field_attrs.txt
diff --git a/crates/libsyntax2/tests/data/parser/inline/0104_arb_self_types.rs b/crates/ra_syntax/tests/data/parser/inline/0104_arb_self_types.rs
index 6a170d5ac..6a170d5ac 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0104_arb_self_types.rs
+++ b/crates/ra_syntax/tests/data/parser/inline/0104_arb_self_types.rs
diff --git a/crates/libsyntax2/tests/data/parser/inline/0104_arb_self_types.txt b/crates/ra_syntax/tests/data/parser/inline/0104_arb_self_types.txt
index 9a306921e..9a306921e 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0104_arb_self_types.txt
+++ b/crates/ra_syntax/tests/data/parser/inline/0104_arb_self_types.txt
diff --git a/crates/libsyntax2/tests/data/parser/inline/0105_continue_expr.rs b/crates/ra_syntax/tests/data/parser/inline/0105_continue_expr.rs
index 474cc3f0e..474cc3f0e 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0105_continue_expr.rs
+++ b/crates/ra_syntax/tests/data/parser/inline/0105_continue_expr.rs
diff --git a/crates/libsyntax2/tests/data/parser/inline/0105_continue_expr.txt b/crates/ra_syntax/tests/data/parser/inline/0105_continue_expr.txt
index 1c78704fa..1c78704fa 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0105_continue_expr.txt
+++ b/crates/ra_syntax/tests/data/parser/inline/0105_continue_expr.txt
diff --git a/crates/libsyntax2/tests/data/parser/inline/0106_break_expr.rs b/crates/ra_syntax/tests/data/parser/inline/0106_break_expr.rs
index 1b4094636..1b4094636 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0106_break_expr.rs
+++ b/crates/ra_syntax/tests/data/parser/inline/0106_break_expr.rs
diff --git a/crates/libsyntax2/tests/data/parser/inline/0106_break_expr.txt b/crates/ra_syntax/tests/data/parser/inline/0106_break_expr.txt
index 92b6b8bea..92b6b8bea 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0106_break_expr.txt
+++ b/crates/ra_syntax/tests/data/parser/inline/0106_break_expr.txt
diff --git a/crates/libsyntax2/tests/data/parser/inline/0107_label.rs b/crates/ra_syntax/tests/data/parser/inline/0107_label.rs
index 48e83f263..48e83f263 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0107_label.rs
+++ b/crates/ra_syntax/tests/data/parser/inline/0107_label.rs
diff --git a/crates/libsyntax2/tests/data/parser/inline/0107_label.txt b/crates/ra_syntax/tests/data/parser/inline/0107_label.txt
index 768515595..768515595 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0107_label.txt
+++ b/crates/ra_syntax/tests/data/parser/inline/0107_label.txt
diff --git a/crates/libsyntax2/tests/data/parser/inline/0108_misplaced_label_err.rs b/crates/ra_syntax/tests/data/parser/inline/0108_misplaced_label_err.rs
index a2164c510..a2164c510 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0108_misplaced_label_err.rs
+++ b/crates/ra_syntax/tests/data/parser/inline/0108_misplaced_label_err.rs
diff --git a/crates/libsyntax2/tests/data/parser/inline/0108_misplaced_label_err.txt b/crates/ra_syntax/tests/data/parser/inline/0108_misplaced_label_err.txt
index d00305b97..d00305b97 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0108_misplaced_label_err.txt
+++ b/crates/ra_syntax/tests/data/parser/inline/0108_misplaced_label_err.txt
diff --git a/crates/libsyntax2/tests/data/parser/inline/0109_struct_items.rs b/crates/ra_syntax/tests/data/parser/inline/0109_struct_items.rs
index 693e3f3ee..693e3f3ee 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0109_struct_items.rs
+++ b/crates/ra_syntax/tests/data/parser/inline/0109_struct_items.rs
diff --git a/crates/libsyntax2/tests/data/parser/inline/0109_struct_items.txt b/crates/ra_syntax/tests/data/parser/inline/0109_struct_items.txt
index f9b34cc5e..f9b34cc5e 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0109_struct_items.txt
+++ b/crates/ra_syntax/tests/data/parser/inline/0109_struct_items.txt
diff --git a/crates/libsyntax2/tests/data/parser/inline/0110_union_items.rs b/crates/ra_syntax/tests/data/parser/inline/0110_union_items.rs
index b7dd610d8..b7dd610d8 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0110_union_items.rs
+++ b/crates/ra_syntax/tests/data/parser/inline/0110_union_items.rs
diff --git a/crates/libsyntax2/tests/data/parser/inline/0110_union_items.txt b/crates/ra_syntax/tests/data/parser/inline/0110_union_items.txt
index e2e755414..e2e755414 100644
--- a/crates/libsyntax2/tests/data/parser/inline/0110_union_items.txt
+++ b/crates/ra_syntax/tests/data/parser/inline/0110_union_items.txt
diff --git a/crates/libsyntax2/tests/data/parser/ok/0000_empty.rs b/crates/ra_syntax/tests/data/parser/ok/0000_empty.rs
index e69de29bb..e69de29bb 100644
--- a/crates/libsyntax2/tests/data/parser/ok/0000_empty.rs
+++ b/crates/ra_syntax/tests/data/parser/ok/0000_empty.rs
diff --git a/crates/libsyntax2/tests/data/parser/ok/0000_empty.txt b/crates/ra_syntax/tests/data/parser/ok/0000_empty.txt
index 9f505ee96..9f505ee96 100644
--- a/crates/libsyntax2/tests/data/parser/ok/0000_empty.txt
+++ b/crates/ra_syntax/tests/data/parser/ok/0000_empty.txt
diff --git a/crates/libsyntax2/tests/data/parser/ok/0001_struct_item.rs b/crates/ra_syntax/tests/data/parser/ok/0001_struct_item.rs
index 512aeb3e7..512aeb3e7 100644
--- a/crates/libsyntax2/tests/data/parser/ok/0001_struct_item.rs
+++ b/crates/ra_syntax/tests/data/parser/ok/0001_struct_item.rs
diff --git a/crates/libsyntax2/tests/data/parser/ok/0001_struct_item.txt b/crates/ra_syntax/tests/data/parser/ok/0001_struct_item.txt
index aa2f1b712..aa2f1b712 100644
--- a/crates/libsyntax2/tests/data/parser/ok/0001_struct_item.txt
+++ b/crates/ra_syntax/tests/data/parser/ok/0001_struct_item.txt
diff --git a/crates/libsyntax2/tests/data/parser/ok/0002_struct_item_field.rs b/crates/ra_syntax/tests/data/parser/ok/0002_struct_item_field.rs
index cc3866d25..cc3866d25 100644
--- a/crates/libsyntax2/tests/data/parser/ok/0002_struct_item_field.rs
+++ b/crates/ra_syntax/tests/data/parser/ok/0002_struct_item_field.rs
diff --git a/crates/libsyntax2/tests/data/parser/ok/0002_struct_item_field.txt b/crates/ra_syntax/tests/data/parser/ok/0002_struct_item_field.txt
index 0b65387ef..0b65387ef 100644
--- a/crates/libsyntax2/tests/data/parser/ok/0002_struct_item_field.txt
+++ b/crates/ra_syntax/tests/data/parser/ok/0002_struct_item_field.txt
diff --git a/crates/libsyntax2/tests/data/parser/ok/0004_file_shebang.rs b/crates/ra_syntax/tests/data/parser/ok/0004_file_shebang.rs
index 53dc9e617..53dc9e617 100644
--- a/crates/libsyntax2/tests/data/parser/ok/0004_file_shebang.rs
+++ b/crates/ra_syntax/tests/data/parser/ok/0004_file_shebang.rs
diff --git a/crates/libsyntax2/tests/data/parser/ok/0004_file_shebang.txt b/crates/ra_syntax/tests/data/parser/ok/0004_file_shebang.txt
index bb8874ead..bb8874ead 100644
--- a/crates/libsyntax2/tests/data/parser/ok/0004_file_shebang.txt
+++ b/crates/ra_syntax/tests/data/parser/ok/0004_file_shebang.txt
diff --git a/crates/libsyntax2/tests/data/parser/ok/0005_fn_item.rs b/crates/ra_syntax/tests/data/parser/ok/0005_fn_item.rs
index 03210551c..03210551c 100644
--- a/crates/libsyntax2/tests/data/parser/ok/0005_fn_item.rs
+++ b/crates/ra_syntax/tests/data/parser/ok/0005_fn_item.rs
diff --git a/crates/libsyntax2/tests/data/parser/ok/0005_fn_item.txt b/crates/ra_syntax/tests/data/parser/ok/0005_fn_item.txt
index 8ed92f2a4..8ed92f2a4 100644
--- a/crates/libsyntax2/tests/data/parser/ok/0005_fn_item.txt
+++ b/crates/ra_syntax/tests/data/parser/ok/0005_fn_item.txt
diff --git a/crates/libsyntax2/tests/data/parser/ok/0006_inner_attributes.rs b/crates/ra_syntax/tests/data/parser/ok/0006_inner_attributes.rs
index e81f8b1e8..e81f8b1e8 100644
--- a/crates/libsyntax2/tests/data/parser/ok/0006_inner_attributes.rs
+++ b/crates/ra_syntax/tests/data/parser/ok/0006_inner_attributes.rs
diff --git a/crates/libsyntax2/tests/data/parser/ok/0006_inner_attributes.txt b/crates/ra_syntax/tests/data/parser/ok/0006_inner_attributes.txt
index 2b64c497f..2b64c497f 100644
--- a/crates/libsyntax2/tests/data/parser/ok/0006_inner_attributes.txt
+++ b/crates/ra_syntax/tests/data/parser/ok/0006_inner_attributes.txt
diff --git a/crates/libsyntax2/tests/data/parser/ok/0007_extern_crate.rs b/crates/ra_syntax/tests/data/parser/ok/0007_extern_crate.rs
index 3ce336676..3ce336676 100644
--- a/crates/libsyntax2/tests/data/parser/ok/0007_extern_crate.rs
+++ b/crates/ra_syntax/tests/data/parser/ok/0007_extern_crate.rs
diff --git a/crates/libsyntax2/tests/data/parser/ok/0007_extern_crate.txt b/crates/ra_syntax/tests/data/parser/ok/0007_extern_crate.txt
index 12193397e..12193397e 100644
--- a/crates/libsyntax2/tests/data/parser/ok/0007_extern_crate.txt
+++ b/crates/ra_syntax/tests/data/parser/ok/0007_extern_crate.txt
diff --git a/crates/libsyntax2/tests/data/parser/ok/0008_mod_item.rs b/crates/ra_syntax/tests/data/parser/ok/0008_mod_item.rs
index d22993bc1..d22993bc1 100644
--- a/crates/libsyntax2/tests/data/parser/ok/0008_mod_item.rs
+++ b/crates/ra_syntax/tests/data/parser/ok/0008_mod_item.rs
diff --git a/crates/libsyntax2/tests/data/parser/ok/0008_mod_item.txt b/crates/ra_syntax/tests/data/parser/ok/0008_mod_item.txt
index c790f8431..c790f8431 100644
--- a/crates/libsyntax2/tests/data/parser/ok/0008_mod_item.txt
+++ b/crates/ra_syntax/tests/data/parser/ok/0008_mod_item.txt
diff --git a/crates/libsyntax2/tests/data/parser/ok/0009_use_item.rs b/crates/ra_syntax/tests/data/parser/ok/0009_use_item.rs
index 05a6aff83..05a6aff83 100644
--- a/crates/libsyntax2/tests/data/parser/ok/0009_use_item.rs
+++ b/crates/ra_syntax/tests/data/parser/ok/0009_use_item.rs
diff --git a/crates/libsyntax2/tests/data/parser/ok/0009_use_item.txt b/crates/ra_syntax/tests/data/parser/ok/0009_use_item.txt
index 4bcd15357..4bcd15357 100644
--- a/crates/libsyntax2/tests/data/parser/ok/0009_use_item.txt
+++ b/crates/ra_syntax/tests/data/parser/ok/0009_use_item.txt
diff --git a/crates/libsyntax2/tests/data/parser/ok/0010_use_path_segments.rs b/crates/ra_syntax/tests/data/parser/ok/0010_use_path_segments.rs
index 1e71b7a6c..1e71b7a6c 100644
--- a/crates/libsyntax2/tests/data/parser/ok/0010_use_path_segments.rs
+++ b/crates/ra_syntax/tests/data/parser/ok/0010_use_path_segments.rs
diff --git a/crates/libsyntax2/tests/data/parser/ok/0010_use_path_segments.txt b/crates/ra_syntax/tests/data/parser/ok/0010_use_path_segments.txt
index f76ea1a35..f76ea1a35 100644
--- a/crates/libsyntax2/tests/data/parser/ok/0010_use_path_segments.txt
+++ b/crates/ra_syntax/tests/data/parser/ok/0010_use_path_segments.txt
diff --git a/crates/libsyntax2/tests/data/parser/ok/0011_outer_attribute.rs b/crates/ra_syntax/tests/data/parser/ok/0011_outer_attribute.rs
index 8b80c0d90..8b80c0d90 100644
--- a/crates/libsyntax2/tests/data/parser/ok/0011_outer_attribute.rs
+++ b/crates/ra_syntax/tests/data/parser/ok/0011_outer_attribute.rs
diff --git a/crates/libsyntax2/tests/data/parser/ok/0011_outer_attribute.txt b/crates/ra_syntax/tests/data/parser/ok/0011_outer_attribute.txt
index 203a07193..203a07193 100644
--- a/crates/libsyntax2/tests/data/parser/ok/0011_outer_attribute.txt
+++ b/crates/ra_syntax/tests/data/parser/ok/0011_outer_attribute.txt
diff --git a/crates/libsyntax2/tests/data/parser/ok/0012_visibility.rs b/crates/ra_syntax/tests/data/parser/ok/0012_visibility.rs
index 75b1db121..75b1db121 100644
--- a/crates/libsyntax2/tests/data/parser/ok/0012_visibility.rs
+++ b/crates/ra_syntax/tests/data/parser/ok/0012_visibility.rs
diff --git a/crates/libsyntax2/tests/data/parser/ok/0012_visibility.txt b/crates/ra_syntax/tests/data/parser/ok/0012_visibility.txt
index 66901af54..66901af54 100644
--- a/crates/libsyntax2/tests/data/parser/ok/0012_visibility.txt
+++ b/crates/ra_syntax/tests/data/parser/ok/0012_visibility.txt
diff --git a/crates/libsyntax2/tests/data/parser/ok/0013_use_path_self_super.rs b/crates/ra_syntax/tests/data/parser/ok/0013_use_path_self_super.rs
index faf6a42c7..faf6a42c7 100644
--- a/crates/libsyntax2/tests/data/parser/ok/0013_use_path_self_super.rs
+++ b/crates/ra_syntax/tests/data/parser/ok/0013_use_path_self_super.rs
diff --git a/crates/libsyntax2/tests/data/parser/ok/0013_use_path_self_super.txt b/crates/ra_syntax/tests/data/parser/ok/0013_use_path_self_super.txt
index 95be4f75d..95be4f75d 100644
--- a/crates/libsyntax2/tests/data/parser/ok/0013_use_path_self_super.txt
+++ b/crates/ra_syntax/tests/data/parser/ok/0013_use_path_self_super.txt
diff --git a/crates/libsyntax2/tests/data/parser/ok/0014_use_tree.rs b/crates/ra_syntax/tests/data/parser/ok/0014_use_tree.rs
index 5e4aa3a33..5e4aa3a33 100644
--- a/crates/libsyntax2/tests/data/parser/ok/0014_use_tree.rs
+++ b/crates/ra_syntax/tests/data/parser/ok/0014_use_tree.rs
diff --git a/crates/libsyntax2/tests/data/parser/ok/0014_use_tree.txt b/crates/ra_syntax/tests/data/parser/ok/0014_use_tree.txt
index 4aa539159..4aa539159 100644
--- a/crates/libsyntax2/tests/data/parser/ok/0014_use_tree.txt
+++ b/crates/ra_syntax/tests/data/parser/ok/0014_use_tree.txt
diff --git a/crates/libsyntax2/tests/data/parser/ok/0015_use_tree.rs b/crates/ra_syntax/tests/data/parser/ok/0015_use_tree.rs
index 46a0783a2..46a0783a2 100644
--- a/crates/libsyntax2/tests/data/parser/ok/0015_use_tree.rs
+++ b/crates/ra_syntax/tests/data/parser/ok/0015_use_tree.rs
diff --git a/crates/libsyntax2/tests/data/parser/ok/0015_use_tree.txt b/crates/ra_syntax/tests/data/parser/ok/0015_use_tree.txt
index aa4ef3715..aa4ef3715 100644
--- a/crates/libsyntax2/tests/data/parser/ok/0015_use_tree.txt
+++ b/crates/ra_syntax/tests/data/parser/ok/0015_use_tree.txt
diff --git a/crates/libsyntax2/tests/data/parser/ok/0016_struct_flavors.rs b/crates/ra_syntax/tests/data/parser/ok/0016_struct_flavors.rs
index 69638350c..69638350c 100644
--- a/crates/libsyntax2/tests/data/parser/ok/0016_struct_flavors.rs
+++ b/crates/ra_syntax/tests/data/parser/ok/0016_struct_flavors.rs
diff --git a/crates/libsyntax2/tests/data/parser/ok/0016_struct_flavors.txt b/crates/ra_syntax/tests/data/parser/ok/0016_struct_flavors.txt
index 349481157..349481157 100644
--- a/crates/libsyntax2/tests/data/parser/ok/0016_struct_flavors.txt
+++ b/crates/ra_syntax/tests/data/parser/ok/0016_struct_flavors.txt
diff --git a/crates/libsyntax2/tests/data/parser/ok/0017_attr_trailing_comma.rs b/crates/ra_syntax/tests/data/parser/ok/0017_attr_trailing_comma.rs
index fe0a7bb97..fe0a7bb97 100644
--- a/crates/libsyntax2/tests/data/parser/ok/0017_attr_trailing_comma.rs
+++ b/crates/ra_syntax/tests/data/parser/ok/0017_attr_trailing_comma.rs
diff --git a/crates/libsyntax2/tests/data/parser/ok/0017_attr_trailing_comma.txt b/crates/ra_syntax/tests/data/parser/ok/0017_attr_trailing_comma.txt
index 8cfd77256..8cfd77256 100644
--- a/crates/libsyntax2/tests/data/parser/ok/0017_attr_trailing_comma.txt
+++ b/crates/ra_syntax/tests/data/parser/ok/0017_attr_trailing_comma.txt
diff --git a/crates/libsyntax2/tests/data/parser/ok/0018_struct_type_params.rs b/crates/ra_syntax/tests/data/parser/ok/0018_struct_type_params.rs
index 88c544923..88c544923 100644
--- a/crates/libsyntax2/tests/data/parser/ok/0018_struct_type_params.rs
+++ b/crates/ra_syntax/tests/data/parser/ok/0018_struct_type_params.rs
diff --git a/crates/libsyntax2/tests/data/parser/ok/0018_struct_type_params.txt b/crates/ra_syntax/tests/data/parser/ok/0018_struct_type_params.txt
index a98e823f6..a98e823f6 100644
--- a/crates/libsyntax2/tests/data/parser/ok/0018_struct_type_params.txt
+++ b/crates/ra_syntax/tests/data/parser/ok/0018_struct_type_params.txt
diff --git a/crates/libsyntax2/tests/data/parser/ok/0019_enums.rs b/crates/ra_syntax/tests/data/parser/ok/0019_enums.rs
index 7a1afa0e6..7a1afa0e6 100644
--- a/crates/libsyntax2/tests/data/parser/ok/0019_enums.rs
+++ b/crates/ra_syntax/tests/data/parser/ok/0019_enums.rs
diff --git a/crates/libsyntax2/tests/data/parser/ok/0019_enums.txt b/crates/ra_syntax/tests/data/parser/ok/0019_enums.txt
index 6333e47c5..6333e47c5 100644
--- a/crates/libsyntax2/tests/data/parser/ok/0019_enums.txt
+++ b/crates/ra_syntax/tests/data/parser/ok/0019_enums.txt
diff --git a/crates/libsyntax2/tests/data/parser/ok/0020_type_param_bounds.rs b/crates/ra_syntax/tests/data/parser/ok/0020_type_param_bounds.rs
index a1b9f00a4..a1b9f00a4 100644
--- a/crates/libsyntax2/tests/data/parser/ok/0020_type_param_bounds.rs
+++ b/crates/ra_syntax/tests/data/parser/ok/0020_type_param_bounds.rs
diff --git a/crates/libsyntax2/tests/data/parser/ok/0020_type_param_bounds.txt b/crates/ra_syntax/tests/data/parser/ok/0020_type_param_bounds.txt
index ac1a58e9a..ac1a58e9a 100644
--- a/crates/libsyntax2/tests/data/parser/ok/0020_type_param_bounds.txt
+++ b/crates/ra_syntax/tests/data/parser/ok/0020_type_param_bounds.txt
diff --git a/crates/libsyntax2/tests/data/parser/ok/0021_extern_fn.rs b/crates/ra_syntax/tests/data/parser/ok/0021_extern_fn.rs
index e929eef74..e929eef74 100644
--- a/crates/libsyntax2/tests/data/parser/ok/0021_extern_fn.rs
+++ b/crates/ra_syntax/tests/data/parser/ok/0021_extern_fn.rs
diff --git a/crates/libsyntax2/tests/data/parser/ok/0021_extern_fn.txt b/crates/ra_syntax/tests/data/parser/ok/0021_extern_fn.txt
index 5ceef46e0..5ceef46e0 100644
--- a/crates/libsyntax2/tests/data/parser/ok/0021_extern_fn.txt
+++ b/crates/ra_syntax/tests/data/parser/ok/0021_extern_fn.txt
diff --git a/crates/libsyntax2/tests/data/parser/ok/0022_empty_extern_block.rs b/crates/ra_syntax/tests/data/parser/ok/0022_empty_extern_block.rs
index f5fe0e6ef..f5fe0e6ef 100644
--- a/crates/libsyntax2/tests/data/parser/ok/0022_empty_extern_block.rs
+++ b/crates/ra_syntax/tests/data/parser/ok/0022_empty_extern_block.rs
diff --git a/crates/libsyntax2/tests/data/parser/ok/0022_empty_extern_block.txt b/crates/ra_syntax/tests/data/parser/ok/0022_empty_extern_block.txt
index 2099e2433..2099e2433 100644
--- a/crates/libsyntax2/tests/data/parser/ok/0022_empty_extern_block.txt
+++ b/crates/ra_syntax/tests/data/parser/ok/0022_empty_extern_block.txt
diff --git a/crates/libsyntax2/tests/data/parser/ok/0023_static_items.rs b/crates/ra_syntax/tests/data/parser/ok/0023_static_items.rs
index 5fb92ce33..5fb92ce33 100644
--- a/crates/libsyntax2/tests/data/parser/ok/0023_static_items.rs
+++ b/crates/ra_syntax/tests/data/parser/ok/0023_static_items.rs
diff --git a/crates/libsyntax2/tests/data/parser/ok/0023_static_items.txt b/crates/ra_syntax/tests/data/parser/ok/0023_static_items.txt
index 5c1a3a7a5..5c1a3a7a5 100644
--- a/crates/libsyntax2/tests/data/parser/ok/0023_static_items.txt
+++ b/crates/ra_syntax/tests/data/parser/ok/0023_static_items.txt
diff --git a/crates/libsyntax2/tests/data/parser/ok/0024_const_item.rs b/crates/ra_syntax/tests/data/parser/ok/0024_const_item.rs
index 7446859b5..7446859b5 100644
--- a/crates/libsyntax2/tests/data/parser/ok/0024_const_item.rs
+++ b/crates/ra_syntax/tests/data/parser/ok/0024_const_item.rs
diff --git a/crates/libsyntax2/tests/data/parser/ok/0024_const_item.txt b/crates/ra_syntax/tests/data/parser/ok/0024_const_item.txt
index d0e5842da..d0e5842da 100644
--- a/crates/libsyntax2/tests/data/parser/ok/0024_const_item.txt
+++ b/crates/ra_syntax/tests/data/parser/ok/0024_const_item.txt
diff --git a/crates/libsyntax2/tests/data/parser/ok/0025_extern_fn_in_block.rs b/crates/ra_syntax/tests/data/parser/ok/0025_extern_fn_in_block.rs
index 289809809..289809809 100644
--- a/crates/libsyntax2/tests/data/parser/ok/0025_extern_fn_in_block.rs
+++ b/crates/ra_syntax/tests/data/parser/ok/0025_extern_fn_in_block.rs
diff --git a/crates/libsyntax2/tests/data/parser/ok/0025_extern_fn_in_block.txt b/crates/ra_syntax/tests/data/parser/ok/0025_extern_fn_in_block.txt
index 363b3576e..363b3576e 100644
--- a/crates/libsyntax2/tests/data/parser/ok/0025_extern_fn_in_block.txt
+++ b/crates/ra_syntax/tests/data/parser/ok/0025_extern_fn_in_block.txt
diff --git a/crates/libsyntax2/tests/data/parser/ok/0026_const_fn_in_block.rs b/crates/ra_syntax/tests/data/parser/ok/0026_const_fn_in_block.rs
index 7641a3d28..7641a3d28 100644
--- a/crates/libsyntax2/tests/data/parser/ok/0026_const_fn_in_block.rs
+++ b/crates/ra_syntax/tests/data/parser/ok/0026_const_fn_in_block.rs
diff --git a/crates/libsyntax2/tests/data/parser/ok/0026_const_fn_in_block.txt b/crates/ra_syntax/tests/data/parser/ok/0026_const_fn_in_block.txt
index d45fc2559..d45fc2559 100644
--- a/crates/libsyntax2/tests/data/parser/ok/0026_const_fn_in_block.txt
+++ b/crates/ra_syntax/tests/data/parser/ok/0026_const_fn_in_block.txt
diff --git a/crates/libsyntax2/tests/data/parser/ok/0027_unsafe_fn_in_block.rs b/crates/ra_syntax/tests/data/parser/ok/0027_unsafe_fn_in_block.rs
index f3c5ff938..f3c5ff938 100644
--- a/crates/libsyntax2/tests/data/parser/ok/0027_unsafe_fn_in_block.rs
+++ b/crates/ra_syntax/tests/data/parser/ok/0027_unsafe_fn_in_block.rs
diff --git a/crates/libsyntax2/tests/data/parser/ok/0027_unsafe_fn_in_block.txt b/crates/ra_syntax/tests/data/parser/ok/0027_unsafe_fn_in_block.txt
index 5a39fa98c..5a39fa98c 100644
--- a/crates/libsyntax2/tests/data/parser/ok/0027_unsafe_fn_in_block.txt
+++ b/crates/ra_syntax/tests/data/parser/ok/0027_unsafe_fn_in_block.txt
diff --git a/crates/libsyntax2/tests/data/parser/ok/0028_operator_binding_power.rs b/crates/ra_syntax/tests/data/parser/ok/0028_operator_binding_power.rs
index cc9598470..cc9598470 100644
--- a/crates/libsyntax2/tests/data/parser/ok/0028_operator_binding_power.rs
+++ b/crates/ra_syntax/tests/data/parser/ok/0028_operator_binding_power.rs
diff --git a/crates/libsyntax2/tests/data/parser/ok/0028_operator_binding_power.txt b/crates/ra_syntax/tests/data/parser/ok/0028_operator_binding_power.txt
index 27efd180f..27efd180f 100644
--- a/crates/libsyntax2/tests/data/parser/ok/0028_operator_binding_power.txt
+++ b/crates/ra_syntax/tests/data/parser/ok/0028_operator_binding_power.txt
diff --git a/crates/libsyntax2/tests/data/parser/ok/0029_range_forms.rs b/crates/ra_syntax/tests/data/parser/ok/0029_range_forms.rs
index 03f4ae7b2..03f4ae7b2 100644
--- a/crates/libsyntax2/tests/data/parser/ok/0029_range_forms.rs
+++ b/crates/ra_syntax/tests/data/parser/ok/0029_range_forms.rs
diff --git a/crates/libsyntax2/tests/data/parser/ok/0029_range_forms.txt b/crates/ra_syntax/tests/data/parser/ok/0029_range_forms.txt
index 6d6d2f4d0..6d6d2f4d0 100644
--- a/crates/libsyntax2/tests/data/parser/ok/0029_range_forms.txt
+++ b/crates/ra_syntax/tests/data/parser/ok/0029_range_forms.txt
diff --git a/crates/libsyntax2/tests/data/parser/ok/0030_traits.rs b/crates/ra_syntax/tests/data/parser/ok/0030_traits.rs
index 23c4be0e1..23c4be0e1 100644
--- a/crates/libsyntax2/tests/data/parser/ok/0030_traits.rs
+++ b/crates/ra_syntax/tests/data/parser/ok/0030_traits.rs
diff --git a/crates/libsyntax2/tests/data/parser/ok/0030_traits.txt b/crates/ra_syntax/tests/data/parser/ok/0030_traits.txt
index ddd666407..ddd666407 100644
--- a/crates/libsyntax2/tests/data/parser/ok/0030_traits.txt
+++ b/crates/ra_syntax/tests/data/parser/ok/0030_traits.txt
diff --git a/crates/libsyntax2/tests/data/parser/ok/0031_extern.rs b/crates/ra_syntax/tests/data/parser/ok/0031_extern.rs
index b33ac273c..b33ac273c 100644
--- a/crates/libsyntax2/tests/data/parser/ok/0031_extern.rs
+++ b/crates/ra_syntax/tests/data/parser/ok/0031_extern.rs
diff --git a/crates/libsyntax2/tests/data/parser/ok/0031_extern.txt b/crates/ra_syntax/tests/data/parser/ok/0031_extern.txt
index f3f1c25a9..f3f1c25a9 100644
--- a/crates/libsyntax2/tests/data/parser/ok/0031_extern.txt
+++ b/crates/ra_syntax/tests/data/parser/ok/0031_extern.txt
diff --git a/crates/libsyntax2/tests/data/parser/ok/0032_where_for.rs b/crates/ra_syntax/tests/data/parser/ok/0032_where_for.rs
index 588170fbe..588170fbe 100644
--- a/crates/libsyntax2/tests/data/parser/ok/0032_where_for.rs
+++ b/crates/ra_syntax/tests/data/parser/ok/0032_where_for.rs
diff --git a/crates/libsyntax2/tests/data/parser/ok/0032_where_for.txt b/crates/ra_syntax/tests/data/parser/ok/0032_where_for.txt
index e3b9386a8..e3b9386a8 100644
--- a/crates/libsyntax2/tests/data/parser/ok/0032_where_for.txt
+++ b/crates/ra_syntax/tests/data/parser/ok/0032_where_for.txt
diff --git a/crates/libsyntax2/tests/data/parser/ok/0033_label_break.rs b/crates/ra_syntax/tests/data/parser/ok/0033_label_break.rs
index 728d78137..728d78137 100644
--- a/crates/libsyntax2/tests/data/parser/ok/0033_label_break.rs
+++ b/crates/ra_syntax/tests/data/parser/ok/0033_label_break.rs
diff --git a/crates/libsyntax2/tests/data/parser/ok/0033_label_break.txt b/crates/ra_syntax/tests/data/parser/ok/0033_label_break.txt
index 6abb9234c..6abb9234c 100644
--- a/crates/libsyntax2/tests/data/parser/ok/0033_label_break.txt
+++ b/crates/ra_syntax/tests/data/parser/ok/0033_label_break.txt
diff --git a/crates/libsyntax2/tests/data/parser/ok/0034_macro_2.0.rs b/crates/ra_syntax/tests/data/parser/ok/0034_macro_2.0.rs
index 2a70ee83a..2a70ee83a 100644
--- a/crates/libsyntax2/tests/data/parser/ok/0034_macro_2.0.rs
+++ b/crates/ra_syntax/tests/data/parser/ok/0034_macro_2.0.rs
diff --git a/crates/libsyntax2/tests/data/parser/ok/0034_macro_2.0.txt b/crates/ra_syntax/tests/data/parser/ok/0034_macro_2.0.txt
index 74af9d71b..74af9d71b 100644
--- a/crates/libsyntax2/tests/data/parser/ok/0034_macro_2.0.txt
+++ b/crates/ra_syntax/tests/data/parser/ok/0034_macro_2.0.txt
diff --git a/crates/libsyntax2/tests/data/parser/ok/0034_macro_stuck.txt b/crates/ra_syntax/tests/data/parser/ok/0034_macro_stuck.txt
index 1a8ca761d..1a8ca761d 100644
--- a/crates/libsyntax2/tests/data/parser/ok/0034_macro_stuck.txt
+++ b/crates/ra_syntax/tests/data/parser/ok/0034_macro_stuck.txt
diff --git a/crates/libsyntax2/tests/test/main.rs b/crates/ra_syntax/tests/test.rs
index 5a8879fce..27380efef 100644
--- a/crates/libsyntax2/tests/test/main.rs
+++ b/crates/ra_syntax/tests/test.rs
@@ -1,4 +1,4 @@
1extern crate libsyntax2; 1extern crate ra_syntax;
2#[macro_use] 2#[macro_use]
3extern crate test_utils; 3extern crate test_utils;
4extern crate walkdir; 4extern crate walkdir;
@@ -9,7 +9,7 @@ use std::{
9 fmt::Write, 9 fmt::Write,
10}; 10};
11 11
12use libsyntax2::{ 12use ra_syntax::{
13 File, 13 File,
14 utils::{dump_tree, check_fuzz_invariants}, 14 utils::{dump_tree, check_fuzz_invariants},
15}; 15};
@@ -17,7 +17,7 @@ use libsyntax2::{
17#[test] 17#[test]
18fn lexer_tests() { 18fn lexer_tests() {
19 dir_tests(&["lexer"], |text| { 19 dir_tests(&["lexer"], |text| {
20 let tokens = libsyntax2::tokenize(text); 20 let tokens = ra_syntax::tokenize(text);
21 dump_tokens(&tokens, text) 21 dump_tokens(&tokens, text)
22 }) 22 })
23} 23}
@@ -134,10 +134,10 @@ fn project_dir() -> PathBuf {
134} 134}
135 135
136fn test_data_dir() -> PathBuf { 136fn test_data_dir() -> PathBuf {
137 project_dir().join("crates/libsyntax2/tests/data") 137 project_dir().join("crates/ra_syntax/tests/data")
138} 138}
139 139
140fn dump_tokens(tokens: &[libsyntax2::Token], text: &str) -> String { 140fn dump_tokens(tokens: &[ra_syntax::Token], text: &str) -> String {
141 let mut acc = String::new(); 141 let mut acc = String::new();
142 let mut offset = 0; 142 let mut offset = 0;
143 for token in tokens { 143 for token in tokens {
diff --git a/crates/tools/src/main.rs b/crates/tools/src/main.rs
index f8b840718..ee900553c 100644
--- a/crates/tools/src/main.rs
+++ b/crates/tools/src/main.rs
@@ -19,13 +19,13 @@ use tools::{collect_tests, Test};
19 19
20type Result<T> = ::std::result::Result<T, failure::Error>; 20type Result<T> = ::std::result::Result<T, failure::Error>;
21 21
22const GRAMMAR_DIR: &str = "./crates/libsyntax2/src/grammar"; 22const GRAMMAR_DIR: &str = "./crates/ra_syntax/src/grammar";
23const INLINE_TESTS_DIR: &str = "./crates/libsyntax2/tests/data/parser/inline"; 23const INLINE_TESTS_DIR: &str = "./crates/ra_syntax/tests/data/parser/inline";
24const GRAMMAR: &str = "./crates/libsyntax2/src/grammar.ron"; 24const GRAMMAR: &str = "./crates/ra_syntax/src/grammar.ron";
25const SYNTAX_KINDS: &str = "./crates/libsyntax2/src/syntax_kinds/generated.rs"; 25const SYNTAX_KINDS: &str = "./crates/ra_syntax/src/syntax_kinds/generated.rs";
26const SYNTAX_KINDS_TEMPLATE: &str = "./crates/libsyntax2/src/syntax_kinds/generated.rs.tera"; 26const SYNTAX_KINDS_TEMPLATE: &str = "./crates/ra_syntax/src/syntax_kinds/generated.rs.tera";
27const AST: &str = "./crates/libsyntax2/src/ast/generated.rs"; 27const AST: &str = "./crates/ra_syntax/src/ast/generated.rs";
28const AST_TEMPLATE: &str = "./crates/libsyntax2/src/ast/generated.rs.tera"; 28const AST_TEMPLATE: &str = "./crates/ra_syntax/src/ast/generated.rs.tera";
29 29
30fn main() -> Result<()> { 30fn main() -> Result<()> {
31 let matches = App::new("tasks") 31 let matches = App::new("tasks")
@@ -190,17 +190,17 @@ fn existing_tests(dir: &Path) -> Result<HashMap<String, (PathBuf, Test)>> {
190} 190}
191 191
192fn install_code_extension() -> Result<()> { 192fn install_code_extension() -> Result<()> {
193 run("cargo install --path crates/server --force", ".")?; 193 run("cargo install --path crates/ra_lsp_server --force", ".")?;
194 if cfg!(windows) { 194 if cfg!(windows) {
195 run(r"cmd.exe /c npm.cmd install", "./code")?; 195 run(r"cmd.exe /c npm.cmd install", "./editors/code")?;
196 } else { 196 } else {
197 run(r"npm install", "./code")?; 197 run(r"npm install", "./editors/code")?;
198 } 198 }
199 run(r"node ./node_modules/vsce/out/vsce package", "./code")?; 199 run(r"node ./node_modules/vsce/out/vsce package", "./editors/code")?;
200 if cfg!(windows) { 200 if cfg!(windows) {
201 run(r"cmd.exe /c code.cmd --install-extension ./rcf-lsp-0.0.1.vsix", "./code")?; 201 run(r"cmd.exe /c code.cmd --install-extension ./ra-lsp-0.0.1.vsix", "./editors/code")?;
202 } else { 202 } else {
203 run(r"code --install-extension ./rcf-lsp-0.0.1.vsix", "./code")?; 203 run(r"code --install-extension ./ra-lsp-0.0.1.vsix", "./editors/code")?;
204 } 204 }
205 Ok(()) 205 Ok(())
206} 206}
diff --git a/code/.gitignore b/editors/code/.gitignore
index 5fe00fea8..5fe00fea8 100644
--- a/code/.gitignore
+++ b/editors/code/.gitignore
diff --git a/code/.vscode/launch.json b/editors/code/.vscode/launch.json
index c174db304..c174db304 100644
--- a/code/.vscode/launch.json
+++ b/editors/code/.vscode/launch.json
diff --git a/code/.vscode/settings.json b/editors/code/.vscode/settings.json
index 30bf8c2d3..30bf8c2d3 100644
--- a/code/.vscode/settings.json
+++ b/editors/code/.vscode/settings.json
diff --git a/code/.vscode/tasks.json b/editors/code/.vscode/tasks.json
index 604e38f5a..604e38f5a 100644
--- a/code/.vscode/tasks.json
+++ b/editors/code/.vscode/tasks.json
diff --git a/code/.vscodeignore b/editors/code/.vscodeignore
index 855717896..855717896 100644
--- a/code/.vscodeignore
+++ b/editors/code/.vscodeignore
diff --git a/code/package-lock.json b/editors/code/package-lock.json
index d9084b1b3..594a10b51 100644
--- a/code/package-lock.json
+++ b/editors/code/package-lock.json
@@ -1,5 +1,5 @@
1{ 1{
2 "name": "rcf-lsp", 2 "name": "ra-lsp",
3 "version": "0.0.1", 3 "version": "0.0.1",
4 "lockfileVersion": 1, 4 "lockfileVersion": 1,
5 "requires": true, 5 "requires": true,
@@ -11,9 +11,9 @@
11 "dev": true 11 "dev": true
12 }, 12 },
13 "@types/node": { 13 "@types/node": {
14 "version": "8.10.28", 14 "version": "8.10.29",
15 "resolved": "https://registry.npmjs.org/@types/node/-/node-8.10.28.tgz", 15 "resolved": "https://registry.npmjs.org/@types/node/-/node-8.10.29.tgz",
16 "integrity": "sha512-iHsAzDg3OLH7JP+wipniUULHoDSWLgEDYOvsar6/mpAkTJd9/n23Ap8ikruMlvRTqMv/LXrflH9v/AfiEqaBGg==", 16 "integrity": "sha512-zbteaWZ2mdduacm0byELwtRyhYE40aK+pAanQk415gr1eRuu67x7QGOLmn8jz5zI8LDK7d0WI/oT6r5Trz4rzQ==",
17 "dev": true 17 "dev": true
18 }, 18 },
19 "ajv": { 19 "ajv": {
@@ -241,7 +241,7 @@
241 "dom-serializer": "0.1.0", 241 "dom-serializer": "0.1.0",
242 "entities": "1.1.1", 242 "entities": "1.1.1",
243 "htmlparser2": "3.9.2", 243 "htmlparser2": "3.9.2",
244 "lodash": "4.17.10", 244 "lodash": "4.17.11",
245 "parse5": "3.0.3" 245 "parse5": "3.0.3"
246 } 246 }
247 }, 247 },
@@ -290,9 +290,9 @@
290 } 290 }
291 }, 291 },
292 "commander": { 292 "commander": {
293 "version": "2.11.0", 293 "version": "2.18.0",
294 "resolved": "https://registry.npmjs.org/commander/-/commander-2.11.0.tgz", 294 "resolved": "https://registry.npmjs.org/commander/-/commander-2.18.0.tgz",
295 "integrity": "sha512-b0553uYA5YAEGgyYIGYROzKQ7X5RAqedkfjiZxwi0kL1g3bOaBNNZfYkzt/CL0umgD5wc9Jec2FbB98CjkMRvQ==", 295 "integrity": "sha512-6CYPa+JP2ftfRU2qkDK+UTVeQYosOg/2GbcjIcKPHfinyOLPVGXu/ovN86RP49Re5ndJK1N0kuiidFFuepc4ZQ==",
296 "dev": true 296 "dev": true
297 }, 297 },
298 "concat-map": { 298 "concat-map": {
@@ -302,10 +302,13 @@
302 "dev": true 302 "dev": true
303 }, 303 },
304 "convert-source-map": { 304 "convert-source-map": {
305 "version": "1.5.1", 305 "version": "1.6.0",
306 "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.5.1.tgz", 306 "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.6.0.tgz",
307 "integrity": "sha1-uCeAl7m8IpNl3lxiz1/K7YtVmeU=", 307 "integrity": "sha512-eFu7XigvxdZ1ETfbgPBohgyQ/Z++C0eEhTor0qRwBw9unw+L0/6V8wkSuGgzdThkiS5lSpdptOQPD8Ak40a+7A==",
308 "dev": true 308 "dev": true,
309 "requires": {
310 "safe-buffer": "5.1.2"
311 }
309 }, 312 },
310 "core-util-is": { 313 "core-util-is": {
311 "version": "1.0.2", 314 "version": "1.0.2",
@@ -421,7 +424,7 @@
421 }, 424 },
422 "duplexer": { 425 "duplexer": {
423 "version": "0.1.1", 426 "version": "0.1.1",
424 "resolved": "https://registry.npmjs.org/duplexer/-/duplexer-0.1.1.tgz", 427 "resolved": "http://registry.npmjs.org/duplexer/-/duplexer-0.1.1.tgz",
425 "integrity": "sha1-rOb/gIwc5mtX0ev5eXessCM0z8E=", 428 "integrity": "sha1-rOb/gIwc5mtX0ev5eXessCM0z8E=",
426 "dev": true 429 "dev": true
427 }, 430 },
@@ -470,17 +473,18 @@
470 "dev": true 473 "dev": true
471 }, 474 },
472 "event-stream": { 475 "event-stream": {
473 "version": "3.3.4", 476 "version": "3.3.6",
474 "resolved": "http://registry.npmjs.org/event-stream/-/event-stream-3.3.4.tgz", 477 "resolved": "https://registry.npmjs.org/event-stream/-/event-stream-3.3.6.tgz",
475 "integrity": "sha1-SrTJoPWlTbkzi0w02Gv86PSzVXE=", 478 "integrity": "sha512-dGXNg4F/FgVzlApjzItL+7naHutA3fDqbV/zAZqDDlXTjiMnQmZKu+prImWKszeBM5UQeGvAl3u1wBiKeDh61g==",
476 "dev": true, 479 "dev": true,
477 "requires": { 480 "requires": {
478 "duplexer": "0.1.1", 481 "duplexer": "0.1.1",
482 "flatmap-stream": "0.1.0",
479 "from": "0.1.7", 483 "from": "0.1.7",
480 "map-stream": "0.1.0", 484 "map-stream": "0.0.7",
481 "pause-stream": "0.0.11", 485 "pause-stream": "0.0.11",
482 "split": "0.3.3", 486 "split": "1.0.1",
483 "stream-combiner": "0.0.4", 487 "stream-combiner": "0.2.2",
484 "through": "2.3.8" 488 "through": "2.3.8"
485 } 489 }
486 }, 490 },
@@ -586,6 +590,12 @@
586 "integrity": "sha1-Wb+1DNkF9g18OUzT2ayqtOatk04=", 590 "integrity": "sha1-Wb+1DNkF9g18OUzT2ayqtOatk04=",
587 "dev": true 591 "dev": true
588 }, 592 },
593 "flatmap-stream": {
594 "version": "0.1.0",
595 "resolved": "https://registry.npmjs.org/flatmap-stream/-/flatmap-stream-0.1.0.tgz",
596 "integrity": "sha512-Nlic4ZRYxikqnK5rj3YoxDVKGGtUjcNDUtvQ7XsdGLZmMwdUYnXf10o1zcXtzEZTBgc6GxeRpQxV/Wu3WPIIHA==",
597 "dev": true
598 },
589 "for-in": { 599 "for-in": {
590 "version": "1.0.2", 600 "version": "1.0.2",
591 "resolved": "https://registry.npmjs.org/for-in/-/for-in-1.0.2.tgz", 601 "resolved": "https://registry.npmjs.org/for-in/-/for-in-1.0.2.tgz",
@@ -748,7 +758,7 @@
748 }, 758 },
749 "readable-stream": { 759 "readable-stream": {
750 "version": "1.0.34", 760 "version": "1.0.34",
751 "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.0.34.tgz", 761 "resolved": "http://registry.npmjs.org/readable-stream/-/readable-stream-1.0.34.tgz",
752 "integrity": "sha1-Elgg40vIQtLyqq+v5MKRbuMsFXw=", 762 "integrity": "sha1-Elgg40vIQtLyqq+v5MKRbuMsFXw=",
753 "dev": true, 763 "dev": true,
754 "requires": { 764 "requires": {
@@ -828,7 +838,7 @@
828 }, 838 },
829 "readable-stream": { 839 "readable-stream": {
830 "version": "1.0.34", 840 "version": "1.0.34",
831 "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.0.34.tgz", 841 "resolved": "http://registry.npmjs.org/readable-stream/-/readable-stream-1.0.34.tgz",
832 "integrity": "sha1-Elgg40vIQtLyqq+v5MKRbuMsFXw=", 842 "integrity": "sha1-Elgg40vIQtLyqq+v5MKRbuMsFXw=",
833 "dev": true, 843 "dev": true,
834 "requires": { 844 "requires": {
@@ -862,7 +872,7 @@
862 "integrity": "sha512-/9vtSk9eI9DEWCqzGieglPqmx0WUQ9pwPHyHFpKmfxqdgqGJC2l0vFMdYs54hLdDsMDEZFLDL2J4ikjc4hQ5HQ==", 872 "integrity": "sha512-/9vtSk9eI9DEWCqzGieglPqmx0WUQ9pwPHyHFpKmfxqdgqGJC2l0vFMdYs54hLdDsMDEZFLDL2J4ikjc4hQ5HQ==",
863 "dev": true, 873 "dev": true,
864 "requires": { 874 "requires": {
865 "event-stream": "3.3.4", 875 "event-stream": "3.3.6",
866 "node.extend": "1.1.6", 876 "node.extend": "1.1.6",
867 "request": "2.88.0", 877 "request": "2.88.0",
868 "through2": "2.0.3", 878 "through2": "2.0.3",
@@ -903,7 +913,7 @@
903 "integrity": "sha1-uG/zSdgBzrVuHZ59x7vLS33uYAw=", 913 "integrity": "sha1-uG/zSdgBzrVuHZ59x7vLS33uYAw=",
904 "dev": true, 914 "dev": true,
905 "requires": { 915 "requires": {
906 "convert-source-map": "1.5.1", 916 "convert-source-map": "1.6.0",
907 "graceful-fs": "4.1.11", 917 "graceful-fs": "4.1.11",
908 "strip-bom": "2.0.0", 918 "strip-bom": "2.0.0",
909 "through2": "2.0.3", 919 "through2": "2.0.3",
@@ -941,7 +951,7 @@
941 "integrity": "sha1-wWUyBzLRks5W/ZQnH/oSMjS/KuA=", 951 "integrity": "sha1-wWUyBzLRks5W/ZQnH/oSMjS/KuA=",
942 "dev": true, 952 "dev": true,
943 "requires": { 953 "requires": {
944 "event-stream": "3.3.4", 954 "event-stream": "3.3.6",
945 "mkdirp": "0.5.1", 955 "mkdirp": "0.5.1",
946 "queue": "3.1.0", 956 "queue": "3.1.0",
947 "vinyl-fs": "2.4.4" 957 "vinyl-fs": "2.4.4"
@@ -953,7 +963,7 @@
953 "integrity": "sha512-0QfbCH2a1k2qkTLWPqTX+QO4qNsHn3kC546YhAP3/n0h+nvtyGITDuDrYBMDZeW4WnFijmkOvBWa5HshTic1tw==", 963 "integrity": "sha512-0QfbCH2a1k2qkTLWPqTX+QO4qNsHn3kC546YhAP3/n0h+nvtyGITDuDrYBMDZeW4WnFijmkOvBWa5HshTic1tw==",
954 "dev": true, 964 "dev": true,
955 "requires": { 965 "requires": {
956 "event-stream": "3.3.4", 966 "event-stream": "3.3.6",
957 "streamifier": "0.1.1", 967 "streamifier": "0.1.1",
958 "tar": "2.2.1", 968 "tar": "2.2.1",
959 "through2": "2.0.3", 969 "through2": "2.0.3",
@@ -991,7 +1001,7 @@
991 "integrity": "sha1-JOQGhdwFtxSZlSRQmeBZAmO+ja0=", 1001 "integrity": "sha1-JOQGhdwFtxSZlSRQmeBZAmO+ja0=",
992 "dev": true, 1002 "dev": true,
993 "requires": { 1003 "requires": {
994 "event-stream": "3.3.4", 1004 "event-stream": "3.3.6",
995 "queue": "4.5.0", 1005 "queue": "4.5.0",
996 "through2": "2.0.3", 1006 "through2": "2.0.3",
997 "vinyl": "2.2.0", 1007 "vinyl": "2.2.0",
@@ -1176,7 +1186,7 @@
1176 }, 1186 },
1177 "is-obj": { 1187 "is-obj": {
1178 "version": "1.0.1", 1188 "version": "1.0.1",
1179 "resolved": "https://registry.npmjs.org/is-obj/-/is-obj-1.0.1.tgz", 1189 "resolved": "http://registry.npmjs.org/is-obj/-/is-obj-1.0.1.tgz",
1180 "integrity": "sha1-PkcprB9f3gJc19g6iW2rn09n2w8=", 1190 "integrity": "sha1-PkcprB9f3gJc19g6iW2rn09n2w8=",
1181 "dev": true 1191 "dev": true
1182 }, 1192 },
@@ -1314,9 +1324,9 @@
1314 } 1324 }
1315 }, 1325 },
1316 "lodash": { 1326 "lodash": {
1317 "version": "4.17.10", 1327 "version": "4.17.11",
1318 "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.10.tgz", 1328 "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.11.tgz",
1319 "integrity": "sha512-UejweD1pDoXu+AD825lWwp4ZGtSwgnpZxb3JDViD7StjQz+Nb/6l093lx4OQ0foGWNRoc19mWy7BzL+UAK2iVg==", 1329 "integrity": "sha512-cQKh8igo5QUhZ7lg38DYWAxMvjSAKG0A8wGSVimP07SIUEK2UO+arSRKbRZWtelMtN5V0Hkwh5ryOto/SshYIg==",
1320 "dev": true 1330 "dev": true
1321 }, 1331 },
1322 "lodash.isequal": { 1332 "lodash.isequal": {
@@ -1326,9 +1336,9 @@
1326 "dev": true 1336 "dev": true
1327 }, 1337 },
1328 "map-stream": { 1338 "map-stream": {
1329 "version": "0.1.0", 1339 "version": "0.0.7",
1330 "resolved": "https://registry.npmjs.org/map-stream/-/map-stream-0.1.0.tgz", 1340 "resolved": "https://registry.npmjs.org/map-stream/-/map-stream-0.0.7.tgz",
1331 "integrity": "sha1-5WqpTEyAVaFkBKBnS3jyFffI4ZQ=", 1341 "integrity": "sha1-ih8HiW2CsQkmvTdEokIACfiJdKg=",
1332 "dev": true 1342 "dev": true
1333 }, 1343 },
1334 "markdown-it": { 1344 "markdown-it": {
@@ -1453,13 +1463,13 @@
1453 }, 1463 },
1454 "minimist": { 1464 "minimist": {
1455 "version": "0.0.8", 1465 "version": "0.0.8",
1456 "resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz", 1466 "resolved": "http://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz",
1457 "integrity": "sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0=", 1467 "integrity": "sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0=",
1458 "dev": true 1468 "dev": true
1459 }, 1469 },
1460 "mkdirp": { 1470 "mkdirp": {
1461 "version": "0.5.1", 1471 "version": "0.5.1",
1462 "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz", 1472 "resolved": "http://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz",
1463 "integrity": "sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM=", 1473 "integrity": "sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM=",
1464 "dev": true, 1474 "dev": true,
1465 "requires": { 1475 "requires": {
@@ -1484,6 +1494,12 @@
1484 "supports-color": "4.4.0" 1494 "supports-color": "4.4.0"
1485 }, 1495 },
1486 "dependencies": { 1496 "dependencies": {
1497 "commander": {
1498 "version": "2.11.0",
1499 "resolved": "https://registry.npmjs.org/commander/-/commander-2.11.0.tgz",
1500 "integrity": "sha512-b0553uYA5YAEGgyYIGYROzKQ7X5RAqedkfjiZxwi0kL1g3bOaBNNZfYkzt/CL0umgD5wc9Jec2FbB98CjkMRvQ==",
1501 "dev": true
1502 },
1487 "glob": { 1503 "glob": {
1488 "version": "7.1.2", 1504 "version": "7.1.2",
1489 "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.2.tgz", 1505 "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.2.tgz",
@@ -1658,7 +1674,7 @@
1658 "integrity": "sha512-rgO9Zg5LLLkfJF9E6CCmXlSE4UVceloys8JrFqCcHloC3usd/kJCyPDwH2SOlzix2j3xaP9sUX3e8+kvkuleAA==", 1674 "integrity": "sha512-rgO9Zg5LLLkfJF9E6CCmXlSE4UVceloys8JrFqCcHloC3usd/kJCyPDwH2SOlzix2j3xaP9sUX3e8+kvkuleAA==",
1659 "dev": true, 1675 "dev": true,
1660 "requires": { 1676 "requires": {
1661 "@types/node": "8.10.28" 1677 "@types/node": "8.10.29"
1662 } 1678 }
1663 }, 1679 },
1664 "path-dirname": { 1680 "path-dirname": {
@@ -1675,7 +1691,7 @@
1675 }, 1691 },
1676 "pause-stream": { 1692 "pause-stream": {
1677 "version": "0.0.11", 1693 "version": "0.0.11",
1678 "resolved": "https://registry.npmjs.org/pause-stream/-/pause-stream-0.0.11.tgz", 1694 "resolved": "http://registry.npmjs.org/pause-stream/-/pause-stream-0.0.11.tgz",
1679 "integrity": "sha1-/lo0sMvOErWqaitAPuLnO2AvFEU=", 1695 "integrity": "sha1-/lo0sMvOErWqaitAPuLnO2AvFEU=",
1680 "dev": true, 1696 "dev": true,
1681 "requires": { 1697 "requires": {
@@ -1794,7 +1810,7 @@
1794 }, 1810 },
1795 "readable-stream": { 1811 "readable-stream": {
1796 "version": "2.3.6", 1812 "version": "2.3.6",
1797 "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz", 1813 "resolved": "http://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz",
1798 "integrity": "sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==", 1814 "integrity": "sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==",
1799 "dev": true, 1815 "dev": true,
1800 "requires": { 1816 "requires": {
@@ -1918,9 +1934,9 @@
1918 } 1934 }
1919 }, 1935 },
1920 "split": { 1936 "split": {
1921 "version": "0.3.3", 1937 "version": "1.0.1",
1922 "resolved": "https://registry.npmjs.org/split/-/split-0.3.3.tgz", 1938 "resolved": "https://registry.npmjs.org/split/-/split-1.0.1.tgz",
1923 "integrity": "sha1-zQ7qXmOiEd//frDwkcQTPi0N0o8=", 1939 "integrity": "sha512-mTyOoPbrivtXnwnIxZRFYRrPNtEFKlpB2fvjSnCQUiAA6qAZzqwna5envK4uk6OIeP17CsdF3rSBGYVBsU0Tkg==",
1924 "dev": true, 1940 "dev": true,
1925 "requires": { 1941 "requires": {
1926 "through": "2.3.8" 1942 "through": "2.3.8"
@@ -1956,12 +1972,13 @@
1956 "dev": true 1972 "dev": true
1957 }, 1973 },
1958 "stream-combiner": { 1974 "stream-combiner": {
1959 "version": "0.0.4", 1975 "version": "0.2.2",
1960 "resolved": "https://registry.npmjs.org/stream-combiner/-/stream-combiner-0.0.4.tgz", 1976 "resolved": "http://registry.npmjs.org/stream-combiner/-/stream-combiner-0.2.2.tgz",
1961 "integrity": "sha1-TV5DPBhSYd3mI8o/RMWGvPXErRQ=", 1977 "integrity": "sha1-rsjLrBd7Vrb0+kec7YwZEs7lKFg=",
1962 "dev": true, 1978 "dev": true,
1963 "requires": { 1979 "requires": {
1964 "duplexer": "0.1.1" 1980 "duplexer": "0.1.1",
1981 "through": "2.3.8"
1965 } 1982 }
1966 }, 1983 },
1967 "stream-shift": { 1984 "stream-shift": {
@@ -2035,7 +2052,7 @@
2035 }, 2052 },
2036 "through": { 2053 "through": {
2037 "version": "2.3.8", 2054 "version": "2.3.8",
2038 "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz", 2055 "resolved": "http://registry.npmjs.org/through/-/through-2.3.8.tgz",
2039 "integrity": "sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU=", 2056 "integrity": "sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU=",
2040 "dev": true 2057 "dev": true
2041 }, 2058 },
@@ -2100,7 +2117,7 @@
2100 }, 2117 },
2101 "tunnel": { 2118 "tunnel": {
2102 "version": "0.0.4", 2119 "version": "0.0.4",
2103 "resolved": "https://registry.npmjs.org/tunnel/-/tunnel-0.0.4.tgz", 2120 "resolved": "http://registry.npmjs.org/tunnel/-/tunnel-0.0.4.tgz",
2104 "integrity": "sha1-LTeFoVjBdMmhbcLARuxfxfF0IhM=", 2121 "integrity": "sha1-LTeFoVjBdMmhbcLARuxfxfF0IhM=",
2105 "dev": true 2122 "dev": true
2106 }, 2123 },
@@ -2282,16 +2299,16 @@
2282 } 2299 }
2283 }, 2300 },
2284 "vsce": { 2301 "vsce": {
2285 "version": "1.46.0", 2302 "version": "1.48.0",
2286 "resolved": "https://registry.npmjs.org/vsce/-/vsce-1.46.0.tgz", 2303 "resolved": "https://registry.npmjs.org/vsce/-/vsce-1.48.0.tgz",
2287 "integrity": "sha512-cNQru5mXBPUtMDgwRNoespaR0gjdL09hV1KWktT5wkmTZfv0dSaAqqGAfr+2UI0aJTGttCcO3xKFQqtIcJpczA==", 2304 "integrity": "sha512-1qJn6QLRTu26FIvvMbK/gzHLLdxJVTg9CUTSnCjJHObCCF5CQ0F3FUv7t+5cT7i0J5v5YljrsRY09u7dPBcEnA==",
2288 "dev": true, 2305 "dev": true,
2289 "requires": { 2306 "requires": {
2290 "cheerio": "1.0.0-rc.2", 2307 "cheerio": "1.0.0-rc.2",
2291 "commander": "2.11.0", 2308 "commander": "2.18.0",
2292 "denodeify": "1.2.1", 2309 "denodeify": "1.2.1",
2293 "glob": "7.1.3", 2310 "glob": "7.1.3",
2294 "lodash": "4.17.10", 2311 "lodash": "4.17.11",
2295 "markdown-it": "8.4.2", 2312 "markdown-it": "8.4.2",
2296 "mime": "1.6.0", 2313 "mime": "1.6.0",
2297 "minimatch": "3.0.4", 2314 "minimatch": "3.0.4",
@@ -2329,31 +2346,31 @@
2329 } 2346 }
2330 }, 2347 },
2331 "vscode-jsonrpc": { 2348 "vscode-jsonrpc": {
2332 "version": "3.6.2", 2349 "version": "4.0.0",
2333 "resolved": "https://registry.npmjs.org/vscode-jsonrpc/-/vscode-jsonrpc-3.6.2.tgz", 2350 "resolved": "https://registry.npmjs.org/vscode-jsonrpc/-/vscode-jsonrpc-4.0.0.tgz",
2334 "integrity": "sha512-T24Jb5V48e4VgYliUXMnZ379ItbrXgOimweKaJshD84z+8q7ZOZjJan0MeDe+Ugb+uqERDVV8SBmemaGMSMugA==" 2351 "integrity": "sha512-perEnXQdQOJMTDFNv+UF3h1Y0z4iSiaN9jIlb0OqIYgosPCZGYh/MCUlkFtV2668PL69lRDO32hmvL2yiidUYg=="
2335 }, 2352 },
2336 "vscode-languageclient": { 2353 "vscode-languageclient": {
2337 "version": "4.4.2", 2354 "version": "4.4.2",
2338 "resolved": "https://registry.npmjs.org/vscode-languageclient/-/vscode-languageclient-4.4.2.tgz", 2355 "resolved": "https://registry.npmjs.org/vscode-languageclient/-/vscode-languageclient-4.4.2.tgz",
2339 "integrity": "sha512-9TUzsg1UM6n1UEyPlWbDf7tK1wJAK7UGFRmGDN8sz4KmbbDiVRh6YicaB/5oRSVTpuV47PdJpYlOl3SJ0RiK1Q==", 2356 "integrity": "sha512-9TUzsg1UM6n1UEyPlWbDf7tK1wJAK7UGFRmGDN8sz4KmbbDiVRh6YicaB/5oRSVTpuV47PdJpYlOl3SJ0RiK1Q==",
2340 "requires": { 2357 "requires": {
2341 "vscode-languageserver-protocol": "3.12.0" 2358 "vscode-languageserver-protocol": "3.13.0"
2342 } 2359 }
2343 }, 2360 },
2344 "vscode-languageserver-protocol": { 2361 "vscode-languageserver-protocol": {
2345 "version": "3.12.0", 2362 "version": "3.13.0",
2346 "resolved": "https://registry.npmjs.org/vscode-languageserver-protocol/-/vscode-languageserver-protocol-3.12.0.tgz", 2363 "resolved": "https://registry.npmjs.org/vscode-languageserver-protocol/-/vscode-languageserver-protocol-3.13.0.tgz",
2347 "integrity": "sha512-evY6hmyzLnwQrqlQWPrNBq1z8wrSNjLesmgPzeS6Zv11mVS5UJRel26hbM/DH5tHdn45huNzRW0eFHRmIm8LpA==", 2364 "integrity": "sha512-2ZGKwI+P2ovQll2PGAp+2UfJH+FK9eait86VBUdkPd9HRlm8e58aYT9pV/NYanHOcp3pL6x2yTLVCFMcTer0mg==",
2348 "requires": { 2365 "requires": {
2349 "vscode-jsonrpc": "3.6.2", 2366 "vscode-jsonrpc": "4.0.0",
2350 "vscode-languageserver-types": "3.12.0" 2367 "vscode-languageserver-types": "3.13.0"
2351 } 2368 }
2352 }, 2369 },
2353 "vscode-languageserver-types": { 2370 "vscode-languageserver-types": {
2354 "version": "3.12.0", 2371 "version": "3.13.0",
2355 "resolved": "https://registry.npmjs.org/vscode-languageserver-types/-/vscode-languageserver-types-3.12.0.tgz", 2372 "resolved": "https://registry.npmjs.org/vscode-languageserver-types/-/vscode-languageserver-types-3.13.0.tgz",
2356 "integrity": "sha512-UxqnpzBToPO7Mi2tr/s5JeyPOSKSJtLB8lIdxCg9ZNdvP2cU8wS7iTDtwQKz91Ne4CUmTdf85ddR5SIZKXmMjQ==" 2373 "integrity": "sha512-BnJIxS+5+8UWiNKCP7W3g9FlE7fErFw0ofP5BXJe7c2tl0VeWh+nNHFbwAS2vmVC4a5kYxHBjRy0UeOtziemVA=="
2357 }, 2374 },
2358 "vso-node-api": { 2375 "vso-node-api": {
2359 "version": "6.1.2-preview", 2376 "version": "6.1.2-preview",
diff --git a/code/package.json b/editors/code/package.json
index 87e715c44..cc8fb93f5 100644
--- a/code/package.json
+++ b/editors/code/package.json
@@ -1,11 +1,11 @@
1{ 1{
2 "name": "rcf-lsp", 2 "name": "ra-lsp",
3 "displayName": "rcf-lsp", 3 "displayName": "ra-lsp",
4 "description": "", 4 "description": "",
5 "version": "0.0.1", 5 "version": "0.0.1",
6 "publisher": "matklad", 6 "publisher": "matklad",
7 "repository": { 7 "repository": {
8 "url": "https://github.com/matklad/libsyntax2/" 8 "url": "https://github.com/matklad/rust-analyzer/"
9 }, 9 },
10 "categories": [ 10 "categories": [
11 "Other" 11 "Other"
@@ -58,57 +58,57 @@
58 ], 58 ],
59 "commands": [ 59 "commands": [
60 { 60 {
61 "command": "libsyntax-rust.createFile", 61 "command": "ra-lsp.createFile",
62 "title": "Show Rust syntax tree" 62 "title": "Show Rust syntax tree"
63 }, 63 },
64 { 64 {
65 "command": "libsyntax-rust.syntaxTree", 65 "command": "ra-lsp.syntaxTree",
66 "title": "Show Rust syntax tree" 66 "title": "Show Rust syntax tree"
67 }, 67 },
68 { 68 {
69 "command": "libsyntax-rust.extendSelection", 69 "command": "ra-lsp.extendSelection",
70 "title": "Rust Extend Selection" 70 "title": "Rust Extend Selection"
71 }, 71 },
72 { 72 {
73 "command": "libsyntax-rust.matchingBrace", 73 "command": "ra-lsp.matchingBrace",
74 "title": "Rust Matching Brace" 74 "title": "Rust Matching Brace"
75 }, 75 },
76 { 76 {
77 "command": "libsyntax-rust.parentModule", 77 "command": "ra-lsp.parentModule",
78 "title": "Rust Parent Module" 78 "title": "Rust Parent Module"
79 }, 79 },
80 { 80 {
81 "command": "libsyntax-rust.joinLines", 81 "command": "ra-lsp.joinLines",
82 "title": "Rust Join Lines" 82 "title": "Rust Join Lines"
83 }, 83 },
84 { 84 {
85 "command": "libsyntax-rust.run", 85 "command": "ra-lsp.run",
86 "title": "Rust Run" 86 "title": "Rust Run"
87 } 87 }
88 ], 88 ],
89 "keybindings": [ 89 "keybindings": [
90 { 90 {
91 "command": "libsyntax-rust.parentModule", 91 "command": "ra-lsp.parentModule",
92 "key": "ctrl+u", 92 "key": "ctrl+u",
93 "when": "editorTextFocus && editorLangId == rust" 93 "when": "editorTextFocus && editorLangId == rust"
94 }, 94 },
95 { 95 {
96 "command": "libsyntax-rust.matchingBrace", 96 "command": "ra-lsp.matchingBrace",
97 "key": "ctrl+shift+m", 97 "key": "ctrl+shift+m",
98 "when": "editorTextFocus && editorLangId == rust" 98 "when": "editorTextFocus && editorLangId == rust"
99 }, 99 },
100 { 100 {
101 "command": "libsyntax-rust.extendSelection", 101 "command": "ra-lsp.extendSelection",
102 "key": "ctrl+w", 102 "key": "ctrl+w",
103 "when": "editorTextFocus && editorLangId == rust" 103 "when": "editorTextFocus && editorLangId == rust"
104 }, 104 },
105 { 105 {
106 "command": "libsyntax-rust.joinLines", 106 "command": "ra-lsp.joinLines",
107 "key": "ctrl+shift+j", 107 "key": "ctrl+shift+j",
108 "when": "editorTextFocus && editorLangId == rust" 108 "when": "editorTextFocus && editorLangId == rust"
109 }, 109 },
110 { 110 {
111 "command": "libsyntax-rust.run", 111 "command": "ra-lsp.run",
112 "key": "ctrl+r", 112 "key": "ctrl+r",
113 "when": "editorTextFocus && editorLangId == rust" 113 "when": "editorTextFocus && editorLangId == rust"
114 } 114 }
diff --git a/code/src/extension.ts b/editors/code/src/extension.ts
index 53ef83aab..2c42c07fe 100644
--- a/code/src/extension.ts
+++ b/editors/code/src/extension.ts
@@ -7,7 +7,7 @@ import { DH_UNABLE_TO_CHECK_GENERATOR } from 'constants';
7let client: lc.LanguageClient; 7let client: lc.LanguageClient;
8 8
9let uris = { 9let uris = {
10 syntaxTree: vscode.Uri.parse('libsyntax-rust://syntaxtree') 10 syntaxTree: vscode.Uri.parse('ra-lsp://syntaxtree')
11} 11}
12 12
13 13
@@ -20,8 +20,8 @@ export function activate(context: vscode.ExtensionContext) {
20 dispose(vscode.commands.registerCommand(name, f)) 20 dispose(vscode.commands.registerCommand(name, f))
21 } 21 }
22 22
23 registerCommand('libsyntax-rust.syntaxTree', () => openDoc(uris.syntaxTree)) 23 registerCommand('ra-lsp.syntaxTree', () => openDoc(uris.syntaxTree))
24 registerCommand('libsyntax-rust.extendSelection', async () => { 24 registerCommand('ra-lsp.extendSelection', async () => {
25 let editor = vscode.window.activeTextEditor 25 let editor = vscode.window.activeTextEditor
26 if (editor == null || editor.document.languageId != "rust") return 26 if (editor == null || editor.document.languageId != "rust") return
27 let request: ExtendSelectionParams = { 27 let request: ExtendSelectionParams = {
@@ -36,7 +36,7 @@ export function activate(context: vscode.ExtensionContext) {
36 return new vscode.Selection(r.start, r.end) 36 return new vscode.Selection(r.start, r.end)
37 }) 37 })
38 }) 38 })
39 registerCommand('libsyntax-rust.matchingBrace', async () => { 39 registerCommand('ra-lsp.matchingBrace', async () => {
40 let editor = vscode.window.activeTextEditor 40 let editor = vscode.window.activeTextEditor
41 if (editor == null || editor.document.languageId != "rust") return 41 if (editor == null || editor.document.languageId != "rust") return
42 let request: FindMatchingBraceParams = { 42 let request: FindMatchingBraceParams = {
@@ -53,7 +53,7 @@ export function activate(context: vscode.ExtensionContext) {
53 }) 53 })
54 editor.revealRange(editor.selection) 54 editor.revealRange(editor.selection)
55 }) 55 })
56 registerCommand('libsyntax-rust.joinLines', async () => { 56 registerCommand('ra-lsp.joinLines', async () => {
57 let editor = vscode.window.activeTextEditor 57 let editor = vscode.window.activeTextEditor
58 if (editor == null || editor.document.languageId != "rust") return 58 if (editor == null || editor.document.languageId != "rust") return
59 let request: JoinLinesParams = { 59 let request: JoinLinesParams = {
@@ -63,7 +63,7 @@ export function activate(context: vscode.ExtensionContext) {
63 let change = await client.sendRequest<SourceChange>("m/joinLines", request) 63 let change = await client.sendRequest<SourceChange>("m/joinLines", request)
64 await applySourceChange(change) 64 await applySourceChange(change)
65 }) 65 })
66 registerCommand('libsyntax-rust.parentModule', async () => { 66 registerCommand('ra-lsp.parentModule', async () => {
67 let editor = vscode.window.activeTextEditor 67 let editor = vscode.window.activeTextEditor
68 if (editor == null || editor.document.languageId != "rust") return 68 if (editor == null || editor.document.languageId != "rust") return
69 let request: lc.TextDocumentIdentifier = { 69 let request: lc.TextDocumentIdentifier = {
@@ -81,7 +81,7 @@ export function activate(context: vscode.ExtensionContext) {
81 }) 81 })
82 82
83 let prevRunnable: RunnableQuickPick | undefined = undefined 83 let prevRunnable: RunnableQuickPick | undefined = undefined
84 registerCommand('libsyntax-rust.run', async () => { 84 registerCommand('ra-lsp.run', async () => {
85 let editor = vscode.window.activeTextEditor 85 let editor = vscode.window.activeTextEditor
86 if (editor == null || editor.document.languageId != "rust") return 86 if (editor == null || editor.document.languageId != "rust") return
87 let textDocument: lc.TextDocumentIdentifier = { 87 let textDocument: lc.TextDocumentIdentifier = {
@@ -110,10 +110,10 @@ export function activate(context: vscode.ExtensionContext) {
110 return await vscode.tasks.executeTask(task) 110 return await vscode.tasks.executeTask(task)
111 } 111 }
112 }) 112 })
113 registerCommand('libsyntax-rust.applySourceChange', applySourceChange) 113 registerCommand('ra-lsp.applySourceChange', applySourceChange)
114 114
115 dispose(vscode.workspace.registerTextDocumentContentProvider( 115 dispose(vscode.workspace.registerTextDocumentContentProvider(
116 'libsyntax-rust', 116 'ra-lsp',
117 textDocumentContentProvider 117 textDocumentContentProvider
118 )) 118 ))
119 startServer() 119 startServer()
@@ -149,9 +149,7 @@ export function deactivate(): Thenable<void> {
149 149
150function startServer() { 150function startServer() {
151 let run: lc.Executable = { 151 let run: lc.Executable = {
152 // command: "cargo", 152 command: "ra_lsp_server",
153 // args: ["run", "--package", "m"],
154 command: "m",
155 options: { cwd: "." } 153 options: { cwd: "." }
156 } 154 }
157 let serverOptions: lc.ServerOptions = { 155 let serverOptions: lc.ServerOptions = {
@@ -164,8 +162,8 @@ function startServer() {
164 }; 162 };
165 163
166 client = new lc.LanguageClient( 164 client = new lc.LanguageClient(
167 'm', 165 'ra-lsp',
168 'm languge server', 166 'rust-analyzer languge server',
169 serverOptions, 167 serverOptions,
170 clientOptions, 168 clientOptions,
171 ); 169 );
diff --git a/code/tsconfig.json b/editors/code/tsconfig.json
index ebec01624..ebec01624 100644
--- a/code/tsconfig.json
+++ b/editors/code/tsconfig.json