aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitattributes2
-rw-r--r--.github/workflows/ci.yaml38
-rw-r--r--Cargo.lock733
-rw-r--r--README.md2
-rw-r--r--bors.toml3
-rw-r--r--crates/arena/Cargo.toml9
-rw-r--r--crates/arena/src/lib.rs (renamed from crates/ra_arena/src/lib.rs)0
-rw-r--r--crates/arena/src/map.rs (renamed from crates/ra_arena/src/map.rs)0
-rw-r--r--crates/assists/Cargo.toml23
-rw-r--r--crates/assists/src/assist_config.rs (renamed from crates/ra_assists/src/assist_config.rs)0
-rw-r--r--crates/assists/src/assist_context.rs291
-rw-r--r--crates/assists/src/ast_transform.rs200
-rw-r--r--crates/assists/src/handlers/add_custom_impl.rs208
-rw-r--r--crates/assists/src/handlers/add_explicit_type.rs211
-rw-r--r--crates/assists/src/handlers/add_missing_impl_members.rs766
-rw-r--r--crates/assists/src/handlers/add_turbo_fish.rs164
-rw-r--r--crates/assists/src/handlers/apply_demorgan.rs93
-rw-r--r--crates/assists/src/handlers/auto_import.rs1088
-rw-r--r--crates/assists/src/handlers/change_return_type_to_result.rs998
-rw-r--r--crates/assists/src/handlers/change_visibility.rs200
-rw-r--r--crates/assists/src/handlers/early_return.rs515
-rw-r--r--crates/assists/src/handlers/expand_glob_import.rs385
-rw-r--r--crates/assists/src/handlers/extract_struct_from_enum_variant.rs322
-rw-r--r--crates/assists/src/handlers/extract_variable.rs588
-rw-r--r--crates/assists/src/handlers/fill_match_arms.rs747
-rw-r--r--crates/assists/src/handlers/fix_visibility.rs607
-rw-r--r--crates/assists/src/handlers/flip_binexpr.rs142
-rw-r--r--crates/assists/src/handlers/flip_comma.rs84
-rw-r--r--crates/assists/src/handlers/flip_trait_bound.rs121
-rw-r--r--crates/assists/src/handlers/generate_derive.rs132
-rw-r--r--crates/assists/src/handlers/generate_from_impl_for_enum.rs200
-rw-r--r--crates/assists/src/handlers/generate_function.rs1058
-rw-r--r--crates/assists/src/handlers/generate_impl.rs110
-rw-r--r--crates/assists/src/handlers/generate_new.rs421
-rw-r--r--crates/assists/src/handlers/inline_local_variable.rs695
-rw-r--r--crates/assists/src/handlers/introduce_named_lifetime.rs318
-rw-r--r--crates/assists/src/handlers/invert_if.rs109
-rw-r--r--crates/assists/src/handlers/merge_imports.rs321
-rw-r--r--crates/assists/src/handlers/merge_match_arms.rs248
-rw-r--r--crates/assists/src/handlers/move_bounds.rs152
-rw-r--r--crates/assists/src/handlers/move_guard.rs293
-rw-r--r--crates/assists/src/handlers/raw_string.rs504
-rw-r--r--crates/assists/src/handlers/remove_dbg.rs205
-rw-r--r--crates/assists/src/handlers/remove_mut.rs37
-rw-r--r--crates/assists/src/handlers/reorder_fields.rs220
-rw-r--r--crates/assists/src/handlers/replace_if_let_with_match.rs257
-rw-r--r--crates/assists/src/handlers/replace_let_with_if_let.rs100
-rw-r--r--crates/assists/src/handlers/replace_qualified_name_with_use.rs680
-rw-r--r--crates/assists/src/handlers/replace_unwrap_with_match.rs187
-rw-r--r--crates/assists/src/handlers/split_import.rs79
-rw-r--r--crates/assists/src/handlers/unwrap_block.rs517
-rw-r--r--crates/assists/src/lib.rs224
-rw-r--r--crates/assists/src/tests.rs179
-rw-r--r--crates/assists/src/tests/generated.rs891
-rw-r--r--crates/assists/src/utils.rs313
-rw-r--r--crates/assists/src/utils/insert_use.rs546
-rw-r--r--crates/base_db/Cargo.toml21
-rw-r--r--crates/base_db/src/cancellation.rs (renamed from crates/ra_db/src/cancellation.rs)0
-rw-r--r--crates/base_db/src/fixture.rs228
-rw-r--r--crates/base_db/src/input.rs453
-rw-r--r--crates/base_db/src/lib.rs167
-rw-r--r--crates/cfg/Cargo.toml18
-rw-r--r--crates/cfg/src/cfg_expr.rs133
-rw-r--r--crates/cfg/src/lib.rs51
-rw-r--r--crates/expect/Cargo.toml5
-rw-r--r--crates/expect/src/lib.rs2
-rw-r--r--crates/flycheck/Cargo.toml9
-rw-r--r--crates/flycheck/src/lib.rs12
-rw-r--r--crates/hir/Cargo.toml24
-rw-r--r--crates/hir/src/code_model.rs1716
-rw-r--r--crates/hir/src/db.rs (renamed from crates/ra_hir/src/db.rs)0
-rw-r--r--crates/hir/src/diagnostics.rs6
-rw-r--r--crates/hir/src/from_id.rs247
-rw-r--r--crates/hir/src/has_source.rs135
-rw-r--r--crates/hir/src/lib.rs66
-rw-r--r--crates/hir/src/semantics.rs818
-rw-r--r--crates/hir/src/semantics/source_to_def.rs275
-rw-r--r--crates/hir/src/source_analyzer.rs534
-rw-r--r--crates/hir_def/Cargo.toml35
-rw-r--r--crates/hir_def/src/adt.rs329
-rw-r--r--crates/hir_def/src/attr.rs212
-rw-r--r--crates/hir_def/src/body.rs360
-rw-r--r--crates/hir_def/src/body/lower.rs931
-rw-r--r--crates/hir_def/src/body/scope.rs456
-rw-r--r--crates/hir_def/src/builtin_type.rs (renamed from crates/ra_hir_def/src/builtin_type.rs)0
-rw-r--r--crates/hir_def/src/child_by_source.rs (renamed from crates/ra_hir_def/src/child_by_source.rs)0
-rw-r--r--crates/hir_def/src/data.rs278
-rw-r--r--crates/hir_def/src/db.rs120
-rw-r--r--crates/hir_def/src/diagnostics.rs27
-rw-r--r--crates/hir_def/src/docs.rs121
-rw-r--r--crates/hir_def/src/dyn_map.rs (renamed from crates/ra_hir_def/src/dyn_map.rs)0
-rw-r--r--crates/hir_def/src/expr.rs420
-rw-r--r--crates/hir_def/src/find_path.rs687
-rw-r--r--crates/hir_def/src/generics.rs339
-rw-r--r--crates/hir_def/src/import_map.rs745
-rw-r--r--crates/hir_def/src/item_scope.rs341
-rw-r--r--crates/hir_def/src/item_tree.rs754
-rw-r--r--crates/hir_def/src/item_tree/lower.rs705
-rw-r--r--crates/hir_def/src/item_tree/tests.rs439
-rw-r--r--crates/hir_def/src/keys.rs58
-rw-r--r--crates/hir_def/src/lang_item.rs174
-rw-r--r--crates/hir_def/src/lib.rs541
-rw-r--r--crates/hir_def/src/nameres.rs326
-rw-r--r--crates/hir_def/src/nameres/collector.rs1279
-rw-r--r--crates/hir_def/src/nameres/mod_resolution.rs139
-rw-r--r--crates/hir_def/src/nameres/path_resolution.rs330
-rw-r--r--crates/hir_def/src/nameres/tests.rs690
-rw-r--r--crates/hir_def/src/nameres/tests/globs.rs (renamed from crates/ra_hir_def/src/nameres/tests/globs.rs)0
-rw-r--r--crates/hir_def/src/nameres/tests/incremental.rs101
-rw-r--r--crates/hir_def/src/nameres/tests/macros.rs (renamed from crates/ra_hir_def/src/nameres/tests/macros.rs)0
-rw-r--r--crates/hir_def/src/nameres/tests/mod_resolution.rs796
-rw-r--r--crates/hir_def/src/nameres/tests/primitives.rs (renamed from crates/ra_hir_def/src/nameres/tests/primitives.rs)0
-rw-r--r--crates/hir_def/src/path.rs345
-rw-r--r--crates/hir_def/src/path/lower.rs215
-rw-r--r--crates/hir_def/src/path/lower/lower_use.rs120
-rw-r--r--crates/hir_def/src/per_ns.rs (renamed from crates/ra_hir_def/src/per_ns.rs)0
-rw-r--r--crates/hir_def/src/resolver.rs713
-rw-r--r--crates/hir_def/src/src.rs43
-rw-r--r--crates/hir_def/src/test_db.rs101
-rw-r--r--crates/hir_def/src/trace.rs51
-rw-r--r--crates/hir_def/src/type_ref.rs245
-rw-r--r--crates/hir_def/src/visibility.rs171
-rw-r--r--crates/hir_expand/Cargo.toml23
-rw-r--r--crates/hir_expand/src/ast_id_map.rs119
-rw-r--r--crates/hir_expand/src/builtin_derive.rs361
-rw-r--r--crates/hir_expand/src/builtin_macro.rs649
-rw-r--r--crates/hir_expand/src/db.rs403
-rw-r--r--crates/hir_expand/src/diagnostics.rs95
-rw-r--r--crates/hir_expand/src/eager.rs144
-rw-r--r--crates/hir_expand/src/hygiene.rs66
-rw-r--r--crates/hir_expand/src/lib.rs453
-rw-r--r--crates/hir_expand/src/name.rs230
-rw-r--r--crates/hir_expand/src/proc_macro.rs143
-rw-r--r--crates/hir_expand/src/quote.rs (renamed from crates/ra_hir_expand/src/quote.rs)0
-rw-r--r--crates/hir_expand/src/test_db.rs49
-rw-r--r--crates/hir_ty/Cargo.toml37
-rw-r--r--crates/hir_ty/src/autoderef.rs131
-rw-r--r--crates/hir_ty/src/db.rs158
-rw-r--r--crates/hir_ty/src/diagnostics.rs444
-rw-r--r--crates/hir_ty/src/diagnostics/expr.rs569
-rw-r--r--crates/hir_ty/src/diagnostics/match_check.rs1438
-rw-r--r--crates/hir_ty/src/diagnostics/unsafe_check.rs (renamed from crates/ra_hir_ty/src/diagnostics/unsafe_check.rs)0
-rw-r--r--crates/hir_ty/src/display.rs632
-rw-r--r--crates/hir_ty/src/infer.rs802
-rw-r--r--crates/hir_ty/src/infer/coerce.rs (renamed from crates/ra_hir_ty/src/infer/coerce.rs)0
-rw-r--r--crates/hir_ty/src/infer/expr.rs873
-rw-r--r--crates/hir_ty/src/infer/pat.rs (renamed from crates/ra_hir_ty/src/infer/pat.rs)0
-rw-r--r--crates/hir_ty/src/infer/path.rs (renamed from crates/ra_hir_ty/src/infer/path.rs)0
-rw-r--r--crates/hir_ty/src/infer/unify.rs (renamed from crates/ra_hir_ty/src/infer/unify.rs)0
-rw-r--r--crates/hir_ty/src/lib.rs1078
-rw-r--r--crates/hir_ty/src/lower.rs1242
-rw-r--r--crates/hir_ty/src/method_resolution.rs769
-rw-r--r--crates/hir_ty/src/op.rs (renamed from crates/ra_hir_ty/src/op.rs)0
-rw-r--r--crates/hir_ty/src/primitive.rs (renamed from crates/ra_hir_ty/src/primitive.rs)0
-rw-r--r--crates/hir_ty/src/test_db.rs136
-rw-r--r--crates/hir_ty/src/tests.rs359
-rw-r--r--crates/hir_ty/src/tests/coercion.rs (renamed from crates/ra_hir_ty/src/tests/coercion.rs)0
-rw-r--r--crates/hir_ty/src/tests/display_source_code.rs (renamed from crates/ra_hir_ty/src/tests/display_source_code.rs)0
-rw-r--r--crates/hir_ty/src/tests/macros.rs787
-rw-r--r--crates/hir_ty/src/tests/method_resolution.rs (renamed from crates/ra_hir_ty/src/tests/method_resolution.rs)0
-rw-r--r--crates/hir_ty/src/tests/never_type.rs (renamed from crates/ra_hir_ty/src/tests/never_type.rs)0
-rw-r--r--crates/hir_ty/src/tests/patterns.rs (renamed from crates/ra_hir_ty/src/tests/patterns.rs)0
-rw-r--r--crates/hir_ty/src/tests/regression.rs (renamed from crates/ra_hir_ty/src/tests/regression.rs)0
-rw-r--r--crates/hir_ty/src/tests/simple.rs2218
-rw-r--r--crates/hir_ty/src/tests/traits.rs (renamed from crates/ra_hir_ty/src/tests/traits.rs)0
-rw-r--r--crates/hir_ty/src/traits.rs285
-rw-r--r--crates/hir_ty/src/traits/chalk.rs589
-rw-r--r--crates/hir_ty/src/traits/chalk/interner.rs383
-rw-r--r--crates/hir_ty/src/traits/chalk/mapping.rs787
-rw-r--r--crates/hir_ty/src/traits/chalk/tls.rs (renamed from crates/ra_hir_ty/src/traits/chalk/tls.rs)0
-rw-r--r--crates/hir_ty/src/utils.rs (renamed from crates/ra_hir_ty/src/utils.rs)0
-rw-r--r--crates/ide/Cargo.toml35
-rw-r--r--crates/ide/src/call_hierarchy.rs393
-rw-r--r--crates/ide/src/call_info.rs742
-rw-r--r--crates/ide/src/completion.rs206
-rw-r--r--crates/ide/src/completion/complete_attribute.rs644
-rw-r--r--crates/ide/src/completion/complete_dot.rs (renamed from crates/ra_ide/src/completion/complete_dot.rs)0
-rw-r--r--crates/ide/src/completion/complete_fn_param.rs135
-rw-r--r--crates/ide/src/completion/complete_keyword.rs527
-rw-r--r--crates/ide/src/completion/complete_macro_in_item_position.rs (renamed from crates/ra_ide/src/completion/complete_macro_in_item_position.rs)0
-rw-r--r--crates/ide/src/completion/complete_pattern.rs (renamed from crates/ra_ide/src/completion/complete_pattern.rs)0
-rw-r--r--crates/ide/src/completion/complete_postfix.rs378
-rw-r--r--crates/ide/src/completion/complete_qualified_path.rs733
-rw-r--r--crates/ide/src/completion/complete_record.rs (renamed from crates/ra_ide/src/completion/complete_record.rs)0
-rw-r--r--crates/ide/src/completion/complete_snippet.rs116
-rw-r--r--crates/ide/src/completion/complete_trait_impl.rs488
-rw-r--r--crates/ide/src/completion/complete_unqualified_path.rs658
-rw-r--r--crates/ide/src/completion/completion_config.rs (renamed from crates/ra_ide/src/completion/completion_config.rs)0
-rw-r--r--crates/ide/src/completion/completion_context.rs486
-rw-r--r--crates/ide/src/completion/completion_item.rs384
-rw-r--r--crates/ide/src/completion/patterns.rs194
-rw-r--r--crates/ide/src/completion/presentation.rs1229
-rw-r--r--crates/ide/src/completion/test_utils.rs114
-rw-r--r--crates/ide/src/diagnostics.rs678
-rw-r--r--crates/ide/src/diagnostics/diagnostics_with_fix.rs171
-rw-r--r--crates/ide/src/display.rs83
-rw-r--r--crates/ide/src/display/navigation_target.rs491
-rw-r--r--crates/ide/src/display/short_label.rs111
-rw-r--r--crates/ide/src/expand_macro.rs283
-rw-r--r--crates/ide/src/extend_selection.rs654
-rw-r--r--crates/ide/src/file_structure.rs431
-rw-r--r--crates/ide/src/folding_ranges.rs422
-rw-r--r--crates/ide/src/goto_definition.rs989
-rw-r--r--crates/ide/src/goto_implementation.rs229
-rw-r--r--crates/ide/src/goto_type_definition.rs151
-rw-r--r--crates/ide/src/hover.rs2480
-rw-r--r--crates/ide/src/inlay_hints.rs927
-rw-r--r--crates/ide/src/join_lines.rs773
-rw-r--r--crates/ide/src/lib.rs542
-rw-r--r--crates/ide/src/markup.rs (renamed from crates/ra_ide/src/markup.rs)0
-rw-r--r--crates/ide/src/matching_brace.rs73
-rw-r--r--crates/ide/src/mock_analysis.rs176
-rw-r--r--crates/ide/src/parent_module.rs155
-rw-r--r--crates/ide/src/prime_caches.rs (renamed from crates/ra_ide/src/prime_caches.rs)0
-rw-r--r--crates/ide/src/references.rs694
-rw-r--r--crates/ide/src/references/rename.rs1010
-rw-r--r--crates/ide/src/runnables.rs883
-rw-r--r--crates/ide/src/status.rs145
-rw-r--r--crates/ide/src/syntax_highlighting.rs872
-rw-r--r--crates/ide/src/syntax_highlighting/html.rs97
-rw-r--r--crates/ide/src/syntax_highlighting/injection.rs187
-rw-r--r--crates/ide/src/syntax_highlighting/tags.rs (renamed from crates/ra_ide/src/syntax_highlighting/tags.rs)0
-rw-r--r--crates/ide/src/syntax_highlighting/tests.rs445
-rw-r--r--crates/ide/src/syntax_tree.rs359
-rw-r--r--crates/ide/src/typing.rs364
-rw-r--r--crates/ide/src/typing/on_enter.rs256
-rw-r--r--crates/ide/test_data/highlight_doctest.html (renamed from crates/ra_ide/test_data/highlight_doctest.html)0
-rw-r--r--crates/ide/test_data/highlight_extern_crate.html40
-rw-r--r--crates/ide/test_data/highlight_injection.html (renamed from crates/ra_ide/test_data/highlight_injection.html)0
-rw-r--r--crates/ide/test_data/highlight_strings.html (renamed from crates/ra_ide/test_data/highlight_strings.html)0
-rw-r--r--crates/ide/test_data/highlight_unsafe.html99
-rw-r--r--crates/ide/test_data/highlighting.html (renamed from crates/ra_ide/test_data/highlighting.html)0
-rw-r--r--crates/ide/test_data/rainbow_highlighting.html (renamed from crates/ra_ide/test_data/rainbow_highlighting.html)0
-rw-r--r--crates/ide_db/Cargo.toml30
-rw-r--r--crates/ide_db/src/change.rs318
-rw-r--r--crates/ide_db/src/defs.rs348
-rw-r--r--crates/ide_db/src/imports_locator.rs64
-rw-r--r--crates/ide_db/src/lib.rs139
-rw-r--r--crates/ide_db/src/line_index.rs281
-rw-r--r--crates/ide_db/src/search.rs322
-rw-r--r--crates/ide_db/src/source_change.rs59
-rw-r--r--crates/ide_db/src/symbol_index.rs429
-rw-r--r--crates/ide_db/src/wasm_shims.rs (renamed from crates/ra_ide_db/src/wasm_shims.rs)0
-rw-r--r--crates/mbe/Cargo.toml21
-rw-r--r--crates/mbe/src/lib.rs278
-rw-r--r--crates/mbe/src/mbe_expander.rs180
-rw-r--r--crates/mbe/src/mbe_expander/matcher.rs477
-rw-r--r--crates/mbe/src/mbe_expander/transcriber.rs254
-rw-r--r--crates/mbe/src/parser.rs184
-rw-r--r--crates/mbe/src/subtree_source.rs197
-rw-r--r--crates/mbe/src/syntax_bridge.rs832
-rw-r--r--crates/mbe/src/tests.rs1898
-rw-r--r--crates/mbe/src/tt_iter.rs (renamed from crates/ra_mbe/src/tt_iter.rs)0
-rw-r--r--crates/parser/Cargo.toml12
-rw-r--r--crates/parser/src/event.rs (renamed from crates/ra_parser/src/event.rs)0
-rw-r--r--crates/parser/src/grammar.rs293
-rw-r--r--crates/parser/src/grammar/attributes.rs48
-rw-r--r--crates/parser/src/grammar/expressions.rs651
-rw-r--r--crates/parser/src/grammar/expressions/atom.rs611
-rw-r--r--crates/parser/src/grammar/items.rs444
-rw-r--r--crates/parser/src/grammar/items/adt.rs178
-rw-r--r--crates/parser/src/grammar/items/consts.rs33
-rw-r--r--crates/parser/src/grammar/items/traits.rs131
-rw-r--r--crates/parser/src/grammar/items/use_item.rs132
-rw-r--r--crates/parser/src/grammar/params.rs188
-rw-r--r--crates/parser/src/grammar/paths.rs115
-rw-r--r--crates/parser/src/grammar/patterns.rs379
-rw-r--r--crates/parser/src/grammar/type_args.rs63
-rw-r--r--crates/parser/src/grammar/type_params.rs209
-rw-r--r--crates/parser/src/grammar/types.rs324
-rw-r--r--crates/parser/src/lib.rs149
-rw-r--r--crates/parser/src/parser.rs350
-rw-r--r--crates/parser/src/syntax_kind.rs (renamed from crates/ra_parser/src/syntax_kind.rs)0
-rw-r--r--crates/parser/src/syntax_kind/generated.rs (renamed from crates/ra_parser/src/syntax_kind/generated.rs)0
-rw-r--r--crates/parser/src/token_set.rs (renamed from crates/ra_parser/src/token_set.rs)0
-rw-r--r--crates/paths/Cargo.toml4
-rw-r--r--crates/proc_macro_api/Cargo.toml18
-rw-r--r--crates/proc_macro_api/src/lib.rs111
-rw-r--r--crates/proc_macro_api/src/msg.rs89
-rw-r--r--crates/proc_macro_api/src/process.rs201
-rw-r--r--crates/proc_macro_api/src/rpc.rs267
-rw-r--r--crates/proc_macro_srv/Cargo.toml29
-rw-r--r--crates/proc_macro_srv/src/cli.rs39
-rw-r--r--crates/proc_macro_srv/src/dylib.rs224
-rw-r--r--crates/proc_macro_srv/src/lib.rs69
-rw-r--r--crates/proc_macro_srv/src/proc_macro/bridge/buffer.rs (renamed from crates/ra_proc_macro_srv/src/proc_macro/bridge/buffer.rs)0
-rw-r--r--crates/proc_macro_srv/src/proc_macro/bridge/client.rs (renamed from crates/ra_proc_macro_srv/src/proc_macro/bridge/client.rs)0
-rw-r--r--crates/proc_macro_srv/src/proc_macro/bridge/closure.rs (renamed from crates/ra_proc_macro_srv/src/proc_macro/bridge/closure.rs)0
-rw-r--r--crates/proc_macro_srv/src/proc_macro/bridge/handle.rs (renamed from crates/ra_proc_macro_srv/src/proc_macro/bridge/handle.rs)0
-rw-r--r--crates/proc_macro_srv/src/proc_macro/bridge/mod.rs (renamed from crates/ra_proc_macro_srv/src/proc_macro/bridge/mod.rs)0
-rw-r--r--crates/proc_macro_srv/src/proc_macro/bridge/rpc.rs (renamed from crates/ra_proc_macro_srv/src/proc_macro/bridge/rpc.rs)0
-rw-r--r--crates/proc_macro_srv/src/proc_macro/bridge/scoped_cell.rs (renamed from crates/ra_proc_macro_srv/src/proc_macro/bridge/scoped_cell.rs)0
-rw-r--r--crates/proc_macro_srv/src/proc_macro/bridge/server.rs (renamed from crates/ra_proc_macro_srv/src/proc_macro/bridge/server.rs)0
-rw-r--r--crates/proc_macro_srv/src/proc_macro/diagnostic.rs (renamed from crates/ra_proc_macro_srv/src/proc_macro/diagnostic.rs)0
-rw-r--r--crates/proc_macro_srv/src/proc_macro/mod.rs (renamed from crates/ra_proc_macro_srv/src/proc_macro/mod.rs)0
-rw-r--r--crates/proc_macro_srv/src/rustc_server.rs704
-rw-r--r--crates/proc_macro_srv/src/tests/fixtures/test_serialize_proc_macro.txt (renamed from crates/ra_proc_macro_srv/src/tests/fixtures/test_serialize_proc_macro.txt)0
-rw-r--r--crates/proc_macro_srv/src/tests/mod.rs58
-rw-r--r--crates/proc_macro_srv/src/tests/utils.rs64
-rw-r--r--crates/proc_macro_test/Cargo.toml10
-rw-r--r--crates/proc_macro_test/src/lib.rs18
-rw-r--r--crates/profile/Cargo.toml27
-rw-r--r--crates/profile/src/google_cpu_profiler.rs (renamed from crates/ra_prof/src/google_cpu_profiler.rs)0
-rw-r--r--crates/profile/src/hprof.rs240
-rw-r--r--crates/profile/src/lib.rs109
-rw-r--r--crates/profile/src/memory_usage.rs75
-rw-r--r--crates/profile/src/stop_watch.rs (renamed from crates/ra_prof/src/stop_watch.rs)0
-rw-r--r--crates/profile/src/tree.rs84
-rw-r--r--crates/project_model/Cargo.toml25
-rw-r--r--crates/project_model/src/cargo_workspace.rs362
-rw-r--r--crates/project_model/src/cfg_flag.rs51
-rw-r--r--crates/project_model/src/lib.rs544
-rw-r--r--crates/project_model/src/project_json.rs143
-rw-r--r--crates/project_model/src/sysroot.rs173
-rw-r--r--crates/ra_arena/Cargo.toml9
-rw-r--r--crates/ra_assists/Cargo.toml25
-rw-r--r--crates/ra_assists/src/assist_context.rs306
-rw-r--r--crates/ra_assists/src/ast_transform.rs212
-rw-r--r--crates/ra_assists/src/handlers/add_custom_impl.rs208
-rw-r--r--crates/ra_assists/src/handlers/add_explicit_type.rs211
-rw-r--r--crates/ra_assists/src/handlers/add_missing_impl_members.rs711
-rw-r--r--crates/ra_assists/src/handlers/add_turbo_fish.rs164
-rw-r--r--crates/ra_assists/src/handlers/apply_demorgan.rs93
-rw-r--r--crates/ra_assists/src/handlers/auto_import.rs1089
-rw-r--r--crates/ra_assists/src/handlers/change_return_type_to_result.rs991
-rw-r--r--crates/ra_assists/src/handlers/change_visibility.rs200
-rw-r--r--crates/ra_assists/src/handlers/early_return.rs515
-rw-r--r--crates/ra_assists/src/handlers/expand_glob_import.rs391
-rw-r--r--crates/ra_assists/src/handlers/extract_struct_from_enum_variant.rs321
-rw-r--r--crates/ra_assists/src/handlers/extract_variable.rs588
-rw-r--r--crates/ra_assists/src/handlers/fill_match_arms.rs747
-rw-r--r--crates/ra_assists/src/handlers/fix_visibility.rs607
-rw-r--r--crates/ra_assists/src/handlers/flip_binexpr.rs142
-rw-r--r--crates/ra_assists/src/handlers/flip_comma.rs84
-rw-r--r--crates/ra_assists/src/handlers/flip_trait_bound.rs121
-rw-r--r--crates/ra_assists/src/handlers/generate_derive.rs132
-rw-r--r--crates/ra_assists/src/handlers/generate_from_impl_for_enum.rs200
-rw-r--r--crates/ra_assists/src/handlers/generate_function.rs1058
-rw-r--r--crates/ra_assists/src/handlers/generate_impl.rs109
-rw-r--r--crates/ra_assists/src/handlers/generate_new.rs420
-rw-r--r--crates/ra_assists/src/handlers/inline_local_variable.rs695
-rw-r--r--crates/ra_assists/src/handlers/introduce_named_lifetime.rs318
-rw-r--r--crates/ra_assists/src/handlers/invert_if.rs109
-rw-r--r--crates/ra_assists/src/handlers/merge_imports.rs294
-rw-r--r--crates/ra_assists/src/handlers/merge_match_arms.rs248
-rw-r--r--crates/ra_assists/src/handlers/move_bounds.rs152
-rw-r--r--crates/ra_assists/src/handlers/move_guard.rs303
-rw-r--r--crates/ra_assists/src/handlers/raw_string.rs504
-rw-r--r--crates/ra_assists/src/handlers/remove_dbg.rs205
-rw-r--r--crates/ra_assists/src/handlers/remove_mut.rs37
-rw-r--r--crates/ra_assists/src/handlers/reorder_fields.rs220
-rw-r--r--crates/ra_assists/src/handlers/replace_if_let_with_match.rs255
-rw-r--r--crates/ra_assists/src/handlers/replace_let_with_if_let.rs100
-rw-r--r--crates/ra_assists/src/handlers/replace_qualified_name_with_use.rs688
-rw-r--r--crates/ra_assists/src/handlers/replace_unwrap_with_match.rs187
-rw-r--r--crates/ra_assists/src/handlers/split_import.rs79
-rw-r--r--crates/ra_assists/src/handlers/unwrap_block.rs518
-rw-r--r--crates/ra_assists/src/lib.rs226
-rw-r--r--crates/ra_assists/src/tests.rs179
-rw-r--r--crates/ra_assists/src/tests/generated.rs890
-rw-r--r--crates/ra_assists/src/utils.rs275
-rw-r--r--crates/ra_assists/src/utils/insert_use.rs526
-rw-r--r--crates/ra_cfg/Cargo.toml18
-rw-r--r--crates/ra_cfg/src/cfg_expr.rs135
-rw-r--r--crates/ra_cfg/src/lib.rs51
-rw-r--r--crates/ra_db/Cargo.toml21
-rw-r--r--crates/ra_db/src/fixture.rs228
-rw-r--r--crates/ra_db/src/input.rs453
-rw-r--r--crates/ra_db/src/lib.rs168
-rw-r--r--crates/ra_fmt/Cargo.toml15
-rw-r--r--crates/ra_fmt/src/lib.rs96
-rw-r--r--crates/ra_hir/Cargo.toml25
-rw-r--r--crates/ra_hir/src/code_model.rs1695
-rw-r--r--crates/ra_hir/src/diagnostics.rs8
-rw-r--r--crates/ra_hir/src/from_id.rs247
-rw-r--r--crates/ra_hir/src/has_source.rs135
-rw-r--r--crates/ra_hir/src/lib.rs59
-rw-r--r--crates/ra_hir/src/semantics.rs731
-rw-r--r--crates/ra_hir/src/semantics/source_to_def.rs276
-rw-r--r--crates/ra_hir/src/source_analyzer.rs535
-rw-r--r--crates/ra_hir_def/Cargo.toml36
-rw-r--r--crates/ra_hir_def/src/adt.rs295
-rw-r--r--crates/ra_hir_def/src/attr.rs212
-rw-r--r--crates/ra_hir_def/src/body.rs361
-rw-r--r--crates/ra_hir_def/src/body/lower.rs931
-rw-r--r--crates/ra_hir_def/src/body/scope.rs456
-rw-r--r--crates/ra_hir_def/src/data.rs279
-rw-r--r--crates/ra_hir_def/src/db.rs121
-rw-r--r--crates/ra_hir_def/src/diagnostics.rs27
-rw-r--r--crates/ra_hir_def/src/docs.rs121
-rw-r--r--crates/ra_hir_def/src/expr.rs420
-rw-r--r--crates/ra_hir_def/src/find_path.rs691
-rw-r--r--crates/ra_hir_def/src/generics.rs340
-rw-r--r--crates/ra_hir_def/src/import_map.rs745
-rw-r--r--crates/ra_hir_def/src/item_scope.rs341
-rw-r--r--crates/ra_hir_def/src/item_tree.rs754
-rw-r--r--crates/ra_hir_def/src/item_tree/lower.rs705
-rw-r--r--crates/ra_hir_def/src/item_tree/tests.rs439
-rw-r--r--crates/ra_hir_def/src/keys.rs58
-rw-r--r--crates/ra_hir_def/src/lang_item.rs175
-rw-r--r--crates/ra_hir_def/src/lib.rs541
-rw-r--r--crates/ra_hir_def/src/nameres.rs327
-rw-r--r--crates/ra_hir_def/src/nameres/collector.rs1279
-rw-r--r--crates/ra_hir_def/src/nameres/mod_resolution.rs139
-rw-r--r--crates/ra_hir_def/src/nameres/path_resolution.rs330
-rw-r--r--crates/ra_hir_def/src/nameres/tests.rs690
-rw-r--r--crates/ra_hir_def/src/nameres/tests/incremental.rs101
-rw-r--r--crates/ra_hir_def/src/nameres/tests/mod_resolution.rs796
-rw-r--r--crates/ra_hir_def/src/path.rs351
-rw-r--r--crates/ra_hir_def/src/path/lower.rs215
-rw-r--r--crates/ra_hir_def/src/path/lower/lower_use.rs120
-rw-r--r--crates/ra_hir_def/src/resolver.rs713
-rw-r--r--crates/ra_hir_def/src/src.rs43
-rw-r--r--crates/ra_hir_def/src/test_db.rs101
-rw-r--r--crates/ra_hir_def/src/trace.rs51
-rw-r--r--crates/ra_hir_def/src/type_ref.rs245
-rw-r--r--crates/ra_hir_def/src/visibility.rs171
-rw-r--r--crates/ra_hir_expand/Cargo.toml23
-rw-r--r--crates/ra_hir_expand/src/ast_id_map.rs119
-rw-r--r--crates/ra_hir_expand/src/builtin_derive.rs361
-rw-r--r--crates/ra_hir_expand/src/builtin_macro.rs649
-rw-r--r--crates/ra_hir_expand/src/db.rs404
-rw-r--r--crates/ra_hir_expand/src/diagnostics.rs110
-rw-r--r--crates/ra_hir_expand/src/eager.rs144
-rw-r--r--crates/ra_hir_expand/src/hygiene.rs66
-rw-r--r--crates/ra_hir_expand/src/lib.rs452
-rw-r--r--crates/ra_hir_expand/src/name.rs230
-rw-r--r--crates/ra_hir_expand/src/proc_macro.rs143
-rw-r--r--crates/ra_hir_expand/src/test_db.rs49
-rw-r--r--crates/ra_hir_ty/Cargo.toml40
-rw-r--r--crates/ra_hir_ty/src/autoderef.rs131
-rw-r--r--crates/ra_hir_ty/src/db.rs159
-rw-r--r--crates/ra_hir_ty/src/diagnostics.rs481
-rw-r--r--crates/ra_hir_ty/src/diagnostics/expr.rs565
-rw-r--r--crates/ra_hir_ty/src/diagnostics/match_check.rs1421
-rw-r--r--crates/ra_hir_ty/src/display.rs631
-rw-r--r--crates/ra_hir_ty/src/infer.rs800
-rw-r--r--crates/ra_hir_ty/src/infer/expr.rs873
-rw-r--r--crates/ra_hir_ty/src/lib.rs1078
-rw-r--r--crates/ra_hir_ty/src/lower.rs1239
-rw-r--r--crates/ra_hir_ty/src/method_resolution.rs770
-rw-r--r--crates/ra_hir_ty/src/test_db.rs136
-rw-r--r--crates/ra_hir_ty/src/tests.rs359
-rw-r--r--crates/ra_hir_ty/src/tests/macros.rs787
-rw-r--r--crates/ra_hir_ty/src/tests/simple.rs2190
-rw-r--r--crates/ra_hir_ty/src/traits.rs273
-rw-r--r--crates/ra_hir_ty/src/traits/chalk.rs586
-rw-r--r--crates/ra_hir_ty/src/traits/chalk/interner.rs383
-rw-r--r--crates/ra_hir_ty/src/traits/chalk/mapping.rs787
-rw-r--r--crates/ra_ide/Cargo.toml40
-rw-r--r--crates/ra_ide/src/call_hierarchy.rs393
-rw-r--r--crates/ra_ide/src/call_info.rs742
-rw-r--r--crates/ra_ide/src/completion.rs206
-rw-r--r--crates/ra_ide/src/completion/complete_attribute.rs644
-rw-r--r--crates/ra_ide/src/completion/complete_fn_param.rs135
-rw-r--r--crates/ra_ide/src/completion/complete_keyword.rs536
-rw-r--r--crates/ra_ide/src/completion/complete_postfix.rs378
-rw-r--r--crates/ra_ide/src/completion/complete_qualified_path.rs733
-rw-r--r--crates/ra_ide/src/completion/complete_snippet.rs116
-rw-r--r--crates/ra_ide/src/completion/complete_trait_impl.rs488
-rw-r--r--crates/ra_ide/src/completion/complete_unqualified_path.rs658
-rw-r--r--crates/ra_ide/src/completion/completion_context.rs465
-rw-r--r--crates/ra_ide/src/completion/completion_item.rs384
-rw-r--r--crates/ra_ide/src/completion/patterns.rs194
-rw-r--r--crates/ra_ide/src/completion/presentation.rs1230
-rw-r--r--crates/ra_ide/src/completion/test_utils.rs114
-rw-r--r--crates/ra_ide/src/diagnostics.rs799
-rw-r--r--crates/ra_ide/src/display.rs83
-rw-r--r--crates/ra_ide/src/display/navigation_target.rs491
-rw-r--r--crates/ra_ide/src/display/short_label.rs101
-rw-r--r--crates/ra_ide/src/expand_macro.rs283
-rw-r--r--crates/ra_ide/src/extend_selection.rs654
-rw-r--r--crates/ra_ide/src/file_structure.rs431
-rw-r--r--crates/ra_ide/src/folding_ranges.rs422
-rw-r--r--crates/ra_ide/src/goto_definition.rs967
-rw-r--r--crates/ra_ide/src/goto_implementation.rs229
-rw-r--r--crates/ra_ide/src/goto_type_definition.rs151
-rw-r--r--crates/ra_ide/src/hover.rs2387
-rw-r--r--crates/ra_ide/src/inlay_hints.rs922
-rw-r--r--crates/ra_ide/src/join_lines.rs750
-rw-r--r--crates/ra_ide/src/lib.rs534
-rw-r--r--crates/ra_ide/src/matching_brace.rs73
-rw-r--r--crates/ra_ide/src/mock_analysis.rs176
-rw-r--r--crates/ra_ide/src/parent_module.rs155
-rw-r--r--crates/ra_ide/src/references.rs695
-rw-r--r--crates/ra_ide/src/references/rename.rs1010
-rw-r--r--crates/ra_ide/src/runnables.rs883
-rw-r--r--crates/ra_ide/src/ssr.rs72
-rw-r--r--crates/ra_ide/src/status.rs145
-rw-r--r--crates/ra_ide/src/syntax_highlighting.rs776
-rw-r--r--crates/ra_ide/src/syntax_highlighting/html.rs97
-rw-r--r--crates/ra_ide/src/syntax_highlighting/injection.rs188
-rw-r--r--crates/ra_ide/src/syntax_highlighting/tests.rs390
-rw-r--r--crates/ra_ide/src/syntax_tree.rs359
-rw-r--r--crates/ra_ide/src/typing.rs365
-rw-r--r--crates/ra_ide/src/typing/on_enter.rs256
-rw-r--r--crates/ra_ide/test_data/highlight_unsafe.html61
-rw-r--r--crates/ra_ide_db/Cargo.toml32
-rw-r--r--crates/ra_ide_db/src/change.rs318
-rw-r--r--crates/ra_ide_db/src/defs.rs333
-rw-r--r--crates/ra_ide_db/src/imports_locator.rs65
-rw-r--r--crates/ra_ide_db/src/lib.rs139
-rw-r--r--crates/ra_ide_db/src/line_index.rs281
-rw-r--r--crates/ra_ide_db/src/search.rs323
-rw-r--r--crates/ra_ide_db/src/source_change.rs59
-rw-r--r--crates/ra_ide_db/src/symbol_index.rs430
-rw-r--r--crates/ra_mbe/Cargo.toml20
-rw-r--r--crates/ra_mbe/src/lib.rs278
-rw-r--r--crates/ra_mbe/src/mbe_expander.rs180
-rw-r--r--crates/ra_mbe/src/mbe_expander/matcher.rs477
-rw-r--r--crates/ra_mbe/src/mbe_expander/transcriber.rs254
-rw-r--r--crates/ra_mbe/src/parser.rs184
-rw-r--r--crates/ra_mbe/src/subtree_source.rs197
-rw-r--r--crates/ra_mbe/src/syntax_bridge.rs832
-rw-r--r--crates/ra_mbe/src/tests.rs1897
-rw-r--r--crates/ra_parser/Cargo.toml13
-rw-r--r--crates/ra_parser/src/grammar.rs293
-rw-r--r--crates/ra_parser/src/grammar/attributes.rs48
-rw-r--r--crates/ra_parser/src/grammar/expressions.rs652
-rw-r--r--crates/ra_parser/src/grammar/expressions/atom.rs611
-rw-r--r--crates/ra_parser/src/grammar/items.rs492
-rw-r--r--crates/ra_parser/src/grammar/items/adt.rs178
-rw-r--r--crates/ra_parser/src/grammar/items/consts.rs33
-rw-r--r--crates/ra_parser/src/grammar/items/traits.rs153
-rw-r--r--crates/ra_parser/src/grammar/items/use_item.rs132
-rw-r--r--crates/ra_parser/src/grammar/params.rs188
-rw-r--r--crates/ra_parser/src/grammar/paths.rs115
-rw-r--r--crates/ra_parser/src/grammar/patterns.rs379
-rw-r--r--crates/ra_parser/src/grammar/type_args.rs63
-rw-r--r--crates/ra_parser/src/grammar/type_params.rs209
-rw-r--r--crates/ra_parser/src/grammar/types.rs324
-rw-r--r--crates/ra_parser/src/lib.rs149
-rw-r--r--crates/ra_parser/src/parser.rs350
-rw-r--r--crates/ra_proc_macro/Cargo.toml18
-rw-r--r--crates/ra_proc_macro/src/lib.rs112
-rw-r--r--crates/ra_proc_macro/src/msg.rs88
-rw-r--r--crates/ra_proc_macro/src/process.rs203
-rw-r--r--crates/ra_proc_macro/src/rpc.rs266
-rw-r--r--crates/ra_proc_macro_srv/Cargo.toml26
-rw-r--r--crates/ra_proc_macro_srv/src/cli.rs39
-rw-r--r--crates/ra_proc_macro_srv/src/dylib.rs224
-rw-r--r--crates/ra_proc_macro_srv/src/lib.rs69
-rw-r--r--crates/ra_proc_macro_srv/src/rustc_server.rs704
-rw-r--r--crates/ra_proc_macro_srv/src/tests/mod.rs45
-rw-r--r--crates/ra_proc_macro_srv/src/tests/utils.rs64
-rw-r--r--crates/ra_prof/Cargo.toml27
-rw-r--r--crates/ra_prof/src/hprof.rs243
-rw-r--r--crates/ra_prof/src/lib.rs109
-rw-r--r--crates/ra_prof/src/memory_usage.rs75
-rw-r--r--crates/ra_prof/src/tree.rs84
-rw-r--r--crates/ra_project_model/Cargo.toml28
-rw-r--r--crates/ra_project_model/src/cargo_workspace.rs362
-rw-r--r--crates/ra_project_model/src/cfg_flag.rs51
-rw-r--r--crates/ra_project_model/src/lib.rs544
-rw-r--r--crates/ra_project_model/src/project_json.rs143
-rw-r--r--crates/ra_project_model/src/sysroot.rs173
-rw-r--r--crates/ra_ssr/Cargo.toml23
-rw-r--r--crates/ra_ssr/src/lib.rs286
-rw-r--r--crates/ra_ssr/src/matching.rs732
-rw-r--r--crates/ra_ssr/src/nester.rs98
-rw-r--r--crates/ra_ssr/src/parsing.rs389
-rw-r--r--crates/ra_ssr/src/replacing.rs194
-rw-r--r--crates/ra_ssr/src/resolving.rs251
-rw-r--r--crates/ra_ssr/src/search.rs282
-rw-r--r--crates/ra_ssr/src/tests.rs1081
-rw-r--r--crates/ra_syntax/Cargo.toml36
-rw-r--r--crates/ra_syntax/fuzz/Cargo.toml27
-rw-r--r--crates/ra_syntax/fuzz/fuzz_targets/parser.rs11
-rw-r--r--crates/ra_syntax/fuzz/fuzz_targets/reparse.rs11
-rw-r--r--crates/ra_syntax/src/algo.rs406
-rw-r--r--crates/ra_syntax/src/ast/edit.rs642
-rw-r--r--crates/ra_syntax/src/ast/make.rs392
-rw-r--r--crates/ra_syntax/src/ast/node_ext.rs485
-rw-r--r--crates/ra_syntax/src/ast/traits.rs142
-rw-r--r--crates/ra_syntax/src/fuzz.rs73
-rw-r--r--crates/ra_syntax/src/lib.rs388
-rw-r--r--crates/ra_syntax/src/parsing.rs59
-rw-r--r--crates/ra_syntax/src/parsing/reparsing.rs455
-rw-r--r--crates/ra_syntax/src/parsing/text_token_source.rs84
-rw-r--r--crates/ra_syntax/src/parsing/text_tree_sink.rs183
-rw-r--r--crates/ra_syntax/src/syntax_node.rs77
-rw-r--r--crates/ra_syntax/src/tests.rs280
-rw-r--r--crates/ra_syntax/test_data/parser/err/0043_default_const.rast40
-rw-r--r--crates/ra_syntax/test_data/parser/err/0043_default_const.rs3
-rw-r--r--crates/ra_syntax/test_data/parser/fuzz-failures/0001.rs106
-rw-r--r--crates/ra_syntax/test_data/parser/inline/err/0014_default_fn_type.rast58
-rw-r--r--crates/ra_syntax/test_data/parser/inline/err/0014_default_fn_type.rs4
-rw-r--r--crates/ra_syntax/test_data/parser/inline/err/0015_empty_segment.rast15
-rw-r--r--crates/ra_syntax/test_data/parser/inline/ok/0001_trait_item_list.rast71
-rw-r--r--crates/ra_syntax/test_data/parser/inline/ok/0001_trait_item_list.rs6
-rw-r--r--crates/ra_syntax/test_data/parser/inline/ok/0016_unsafe_trait.rast13
-rw-r--r--crates/ra_syntax/test_data/parser/inline/ok/0016_unsafe_trait.rs1
-rw-r--r--crates/ra_syntax/test_data/parser/inline/ok/0036_unsafe_extern_fn.rast21
-rw-r--r--crates/ra_syntax/test_data/parser/inline/ok/0036_unsafe_extern_fn.rs1
-rw-r--r--crates/ra_syntax/test_data/parser/inline/ok/0047_unsafe_default_impl.rast18
-rw-r--r--crates/ra_syntax/test_data/parser/inline/ok/0047_unsafe_default_impl.rs1
-rw-r--r--crates/ra_syntax/test_data/parser/inline/ok/0057_const_fn.rast16
-rw-r--r--crates/ra_syntax/test_data/parser/inline/ok/0057_const_fn.rs1
-rw-r--r--crates/ra_syntax/test_data/parser/inline/ok/0087_unsafe_impl.rast16
-rw-r--r--crates/ra_syntax/test_data/parser/inline/ok/0087_unsafe_impl.rs1
-rw-r--r--crates/ra_syntax/test_data/parser/inline/ok/0089_extern_fn.rast17
-rw-r--r--crates/ra_syntax/test_data/parser/inline/ok/0089_extern_fn.rs1
-rw-r--r--crates/ra_syntax/test_data/parser/inline/ok/0091_auto_trait.rast13
-rw-r--r--crates/ra_syntax/test_data/parser/inline/ok/0091_auto_trait.rs1
-rw-r--r--crates/ra_syntax/test_data/parser/inline/ok/0094_unsafe_auto_trait.rast15
-rw-r--r--crates/ra_syntax/test_data/parser/inline/ok/0094_unsafe_auto_trait.rs1
-rw-r--r--crates/ra_syntax/test_data/parser/inline/ok/0097_default_impl.rast16
-rw-r--r--crates/ra_syntax/test_data/parser/inline/ok/0097_default_impl.rs1
-rw-r--r--crates/ra_syntax/test_data/parser/inline/ok/0098_const_unsafe_fn.rast18
-rw-r--r--crates/ra_syntax/test_data/parser/inline/ok/0098_const_unsafe_fn.rs1
-rw-r--r--crates/ra_syntax/test_data/parser/inline/ok/0101_unsafe_fn.rast16
-rw-r--r--crates/ra_syntax/test_data/parser/inline/ok/0101_unsafe_fn.rs1
-rw-r--r--crates/ra_syntax/test_data/parser/inline/ok/0124_async_fn.rast16
-rw-r--r--crates/ra_syntax/test_data/parser/inline/ok/0124_async_fn.rs1
-rw-r--r--crates/ra_syntax/test_data/parser/inline/ok/0128_combined_fns.rast35
-rw-r--r--crates/ra_syntax/test_data/parser/inline/ok/0128_combined_fns.rs2
-rw-r--r--crates/ra_syntax/test_data/parser/inline/ok/0132_default_fn_type.rast55
-rw-r--r--crates/ra_syntax/test_data/parser/inline/ok/0132_default_fn_type.rs4
-rw-r--r--crates/ra_syntax/test_data/parser/inline/ok/0163_default_unsafe_fn.rast40
-rw-r--r--crates/ra_syntax/test_data/parser/inline/ok/0163_default_unsafe_fn.rs3
-rw-r--r--crates/ra_syntax/test_data/parser/inline/ok/0163_default_unsafe_impl.rast18
-rw-r--r--crates/ra_syntax/test_data/parser/inline/ok/0163_default_unsafe_impl.rs1
-rw-r--r--crates/ra_syntax/test_data/parser/ok/0021_extern_fn.rast56
-rw-r--r--crates/ra_syntax/test_data/parser/ok/0021_extern_fn.rs8
-rw-r--r--crates/ra_syntax/test_data/parser/ok/0066_default_const.rast44
-rw-r--r--crates/ra_syntax/test_data/parser/ok/0066_default_const.rs3
-rw-r--r--crates/ra_text_edit/Cargo.toml13
-rw-r--r--crates/ra_text_edit/src/lib.rs170
-rw-r--r--crates/ra_toolchain/Cargo.toml12
-rw-r--r--crates/ra_toolchain/src/lib.rs68
-rw-r--r--crates/ra_tt/Cargo.toml15
-rw-r--r--crates/ra_tt/src/lib.rs246
-rw-r--r--crates/rust-analyzer/Cargo.toml41
-rw-r--r--crates/rust-analyzer/src/bin/args.rs2
-rw-r--r--crates/rust-analyzer/src/bin/main.rs6
-rw-r--r--crates/rust-analyzer/src/cargo_target_spec.rs10
-rw-r--r--crates/rust-analyzer/src/cli.rs19
-rw-r--r--crates/rust-analyzer/src/cli/analysis_bench.rs6
-rw-r--r--crates/rust-analyzer/src/cli/analysis_stats.rs14
-rw-r--r--crates/rust-analyzer/src/cli/diagnostics.rs6
-rw-r--r--crates/rust-analyzer/src/cli/load_cargo.rs6
-rw-r--r--crates/rust-analyzer/src/cli/ssr.rs8
-rw-r--r--crates/rust-analyzer/src/config.rs4
-rw-r--r--crates/rust-analyzer/src/diagnostics.rs2
-rw-r--r--crates/rust-analyzer/src/diagnostics/to_proto.rs12
-rw-r--r--crates/rust-analyzer/src/from_proto.rs6
-rw-r--r--crates/rust-analyzer/src/global_state.rs11
-rw-r--r--crates/rust-analyzer/src/handlers.rs110
-rw-r--r--crates/rust-analyzer/src/lib.rs14
-rw-r--r--crates/rust-analyzer/src/lsp_ext.rs7
-rw-r--r--crates/rust-analyzer/src/lsp_utils.rs4
-rw-r--r--crates/rust-analyzer/src/main_loop.rs38
-rw-r--r--crates/rust-analyzer/src/reload.rs24
-rw-r--r--crates/rust-analyzer/src/to_proto.rs17
-rw-r--r--crates/rust-analyzer/test_data/macro_compiler_error.txt4
-rw-r--r--crates/rust-analyzer/tests/heavy_tests/main.rs684
-rw-r--r--crates/rust-analyzer/tests/heavy_tests/support.rs262
-rw-r--r--crates/rust-analyzer/tests/rust-analyzer/main.rs694
-rw-r--r--crates/rust-analyzer/tests/rust-analyzer/support.rs262
-rw-r--r--crates/rust-analyzer/tests/rust-analyzer/testdir.rs (renamed from crates/rust-analyzer/tests/heavy_tests/testdir.rs)0
-rw-r--r--crates/ssr/Cargo.toml25
-rw-r--r--crates/ssr/src/errors.rs (renamed from crates/ra_ssr/src/errors.rs)0
-rw-r--r--crates/ssr/src/lib.rs341
-rw-r--r--crates/ssr/src/matching.rs814
-rw-r--r--crates/ssr/src/nester.rs94
-rw-r--r--crates/ssr/src/parsing.rs403
-rw-r--r--crates/ssr/src/replacing.rs240
-rw-r--r--crates/ssr/src/resolving.rs301
-rw-r--r--crates/ssr/src/search.rs282
-rw-r--r--crates/ssr/src/tests.rs1281
-rw-r--r--crates/stdx/Cargo.toml4
-rw-r--r--crates/stdx/src/lib.rs67
-rw-r--r--crates/syntax/Cargo.toml35
-rw-r--r--crates/syntax/fuzz/.gitignore (renamed from crates/ra_syntax/fuzz/.gitignore)0
-rw-r--r--crates/syntax/fuzz/Cargo.toml27
-rw-r--r--crates/syntax/fuzz/fuzz_targets/parser.rs11
-rw-r--r--crates/syntax/fuzz/fuzz_targets/reparse.rs11
-rw-r--r--crates/syntax/src/algo.rs406
-rw-r--r--crates/syntax/src/ast.rs (renamed from crates/ra_syntax/src/ast.rs)0
-rw-r--r--crates/syntax/src/ast/edit.rs673
-rw-r--r--crates/syntax/src/ast/expr_ext.rs (renamed from crates/ra_syntax/src/ast/expr_ext.rs)0
-rw-r--r--crates/syntax/src/ast/generated.rs (renamed from crates/ra_syntax/src/ast/generated.rs)0
-rw-r--r--crates/syntax/src/ast/generated/nodes.rs (renamed from crates/ra_syntax/src/ast/generated/nodes.rs)0
-rw-r--r--crates/syntax/src/ast/generated/tokens.rs (renamed from crates/ra_syntax/src/ast/generated/tokens.rs)0
-rw-r--r--crates/syntax/src/ast/make.rs402
-rw-r--r--crates/syntax/src/ast/node_ext.rs485
-rw-r--r--crates/syntax/src/ast/token_ext.rs (renamed from crates/ra_syntax/src/ast/token_ext.rs)0
-rw-r--r--crates/syntax/src/ast/traits.rs141
-rw-r--r--crates/syntax/src/fuzz.rs73
-rw-r--r--crates/syntax/src/lib.rs388
-rw-r--r--crates/syntax/src/parsing.rs59
-rw-r--r--crates/syntax/src/parsing/lexer.rs (renamed from crates/ra_syntax/src/parsing/lexer.rs)0
-rw-r--r--crates/syntax/src/parsing/reparsing.rs455
-rw-r--r--crates/syntax/src/parsing/text_token_source.rs84
-rw-r--r--crates/syntax/src/parsing/text_tree_sink.rs183
-rw-r--r--crates/syntax/src/ptr.rs (renamed from crates/ra_syntax/src/ptr.rs)0
-rw-r--r--crates/syntax/src/syntax_error.rs (renamed from crates/ra_syntax/src/syntax_error.rs)0
-rw-r--r--crates/syntax/src/syntax_node.rs77
-rw-r--r--crates/syntax/src/tests.rs280
-rw-r--r--crates/syntax/src/validation.rs (renamed from crates/ra_syntax/src/validation.rs)0
-rw-r--r--crates/syntax/src/validation/block.rs (renamed from crates/ra_syntax/src/validation/block.rs)0
-rw-r--r--crates/syntax/test_data/accidentally_quadratic (renamed from crates/ra_syntax/test_data/accidentally_quadratic)0
-rw-r--r--crates/syntax/test_data/lexer/err/0001_unclosed_char_at_eof.rs (renamed from crates/ra_syntax/test_data/lexer/err/0001_unclosed_char_at_eof.rs)0
-rw-r--r--crates/syntax/test_data/lexer/err/0001_unclosed_char_at_eof.txt (renamed from crates/ra_syntax/test_data/lexer/err/0001_unclosed_char_at_eof.txt)0
-rw-r--r--crates/syntax/test_data/lexer/err/0002_unclosed_char_with_ferris.rs (renamed from crates/ra_syntax/test_data/lexer/err/0002_unclosed_char_with_ferris.rs)0
-rw-r--r--crates/syntax/test_data/lexer/err/0002_unclosed_char_with_ferris.txt (renamed from crates/ra_syntax/test_data/lexer/err/0002_unclosed_char_with_ferris.txt)0
-rw-r--r--crates/syntax/test_data/lexer/err/0003_unclosed_char_with_ascii_escape.rs (renamed from crates/ra_syntax/test_data/lexer/err/0003_unclosed_char_with_ascii_escape.rs)0
-rw-r--r--crates/syntax/test_data/lexer/err/0003_unclosed_char_with_ascii_escape.txt (renamed from crates/ra_syntax/test_data/lexer/err/0003_unclosed_char_with_ascii_escape.txt)0
-rw-r--r--crates/syntax/test_data/lexer/err/0004_unclosed_char_with_unicode_escape.rs (renamed from crates/ra_syntax/test_data/lexer/err/0004_unclosed_char_with_unicode_escape.rs)0
-rw-r--r--crates/syntax/test_data/lexer/err/0004_unclosed_char_with_unicode_escape.txt (renamed from crates/ra_syntax/test_data/lexer/err/0004_unclosed_char_with_unicode_escape.txt)0
-rw-r--r--crates/syntax/test_data/lexer/err/0005_unclosed_char_with_space.rs (renamed from crates/ra_syntax/test_data/lexer/err/0005_unclosed_char_with_space.rs)0
-rw-r--r--crates/syntax/test_data/lexer/err/0005_unclosed_char_with_space.txt (renamed from crates/ra_syntax/test_data/lexer/err/0005_unclosed_char_with_space.txt)0
-rw-r--r--crates/syntax/test_data/lexer/err/0006_unclosed_char_with_slash.rs (renamed from crates/ra_syntax/test_data/lexer/err/0006_unclosed_char_with_slash.rs)0
-rw-r--r--crates/syntax/test_data/lexer/err/0006_unclosed_char_with_slash.txt (renamed from crates/ra_syntax/test_data/lexer/err/0006_unclosed_char_with_slash.txt)0
-rw-r--r--crates/syntax/test_data/lexer/err/0007_unclosed_char_with_slash_n.rs (renamed from crates/ra_syntax/test_data/lexer/err/0007_unclosed_char_with_slash_n.rs)0
-rw-r--r--crates/syntax/test_data/lexer/err/0007_unclosed_char_with_slash_n.txt (renamed from crates/ra_syntax/test_data/lexer/err/0007_unclosed_char_with_slash_n.txt)0
-rw-r--r--crates/syntax/test_data/lexer/err/0008_unclosed_char_with_slash_single_quote.rs (renamed from crates/ra_syntax/test_data/lexer/err/0008_unclosed_char_with_slash_single_quote.rs)0
-rw-r--r--crates/syntax/test_data/lexer/err/0008_unclosed_char_with_slash_single_quote.txt (renamed from crates/ra_syntax/test_data/lexer/err/0008_unclosed_char_with_slash_single_quote.txt)0
-rw-r--r--crates/syntax/test_data/lexer/err/0009_unclosed_byte_at_eof.rs (renamed from crates/ra_syntax/test_data/lexer/err/0009_unclosed_byte_at_eof.rs)0
-rw-r--r--crates/syntax/test_data/lexer/err/0009_unclosed_byte_at_eof.txt (renamed from crates/ra_syntax/test_data/lexer/err/0009_unclosed_byte_at_eof.txt)0
-rw-r--r--crates/syntax/test_data/lexer/err/0010_unclosed_byte_with_ferris.rs (renamed from crates/ra_syntax/test_data/lexer/err/0010_unclosed_byte_with_ferris.rs)0
-rw-r--r--crates/syntax/test_data/lexer/err/0010_unclosed_byte_with_ferris.txt (renamed from crates/ra_syntax/test_data/lexer/err/0010_unclosed_byte_with_ferris.txt)0
-rw-r--r--crates/syntax/test_data/lexer/err/0011_unclosed_byte_with_ascii_escape.rs (renamed from crates/ra_syntax/test_data/lexer/err/0011_unclosed_byte_with_ascii_escape.rs)0
-rw-r--r--crates/syntax/test_data/lexer/err/0011_unclosed_byte_with_ascii_escape.txt (renamed from crates/ra_syntax/test_data/lexer/err/0011_unclosed_byte_with_ascii_escape.txt)0
-rw-r--r--crates/syntax/test_data/lexer/err/0012_unclosed_byte_with_unicode_escape.rs (renamed from crates/ra_syntax/test_data/lexer/err/0012_unclosed_byte_with_unicode_escape.rs)0
-rw-r--r--crates/syntax/test_data/lexer/err/0012_unclosed_byte_with_unicode_escape.txt (renamed from crates/ra_syntax/test_data/lexer/err/0012_unclosed_byte_with_unicode_escape.txt)0
-rw-r--r--crates/syntax/test_data/lexer/err/0013_unclosed_byte_with_space.rs (renamed from crates/ra_syntax/test_data/lexer/err/0013_unclosed_byte_with_space.rs)0
-rw-r--r--crates/syntax/test_data/lexer/err/0013_unclosed_byte_with_space.txt (renamed from crates/ra_syntax/test_data/lexer/err/0013_unclosed_byte_with_space.txt)0
-rw-r--r--crates/syntax/test_data/lexer/err/0014_unclosed_byte_with_slash.rs (renamed from crates/ra_syntax/test_data/lexer/err/0014_unclosed_byte_with_slash.rs)0
-rw-r--r--crates/syntax/test_data/lexer/err/0014_unclosed_byte_with_slash.txt (renamed from crates/ra_syntax/test_data/lexer/err/0014_unclosed_byte_with_slash.txt)0
-rw-r--r--crates/syntax/test_data/lexer/err/0015_unclosed_byte_with_slash_n.rs (renamed from crates/ra_syntax/test_data/lexer/err/0015_unclosed_byte_with_slash_n.rs)0
-rw-r--r--crates/syntax/test_data/lexer/err/0015_unclosed_byte_with_slash_n.txt (renamed from crates/ra_syntax/test_data/lexer/err/0015_unclosed_byte_with_slash_n.txt)0
-rw-r--r--crates/syntax/test_data/lexer/err/0016_unclosed_byte_with_slash_single_quote.rs (renamed from crates/ra_syntax/test_data/lexer/err/0016_unclosed_byte_with_slash_single_quote.rs)0
-rw-r--r--crates/syntax/test_data/lexer/err/0016_unclosed_byte_with_slash_single_quote.txt (renamed from crates/ra_syntax/test_data/lexer/err/0016_unclosed_byte_with_slash_single_quote.txt)0
-rw-r--r--crates/syntax/test_data/lexer/err/0017_unclosed_string_at_eof.rs (renamed from crates/ra_syntax/test_data/lexer/err/0017_unclosed_string_at_eof.rs)0
-rw-r--r--crates/syntax/test_data/lexer/err/0017_unclosed_string_at_eof.txt (renamed from crates/ra_syntax/test_data/lexer/err/0017_unclosed_string_at_eof.txt)0
-rw-r--r--crates/syntax/test_data/lexer/err/0018_unclosed_string_with_ferris.rs (renamed from crates/ra_syntax/test_data/lexer/err/0018_unclosed_string_with_ferris.rs)0
-rw-r--r--crates/syntax/test_data/lexer/err/0018_unclosed_string_with_ferris.txt (renamed from crates/ra_syntax/test_data/lexer/err/0018_unclosed_string_with_ferris.txt)0
-rw-r--r--crates/syntax/test_data/lexer/err/0019_unclosed_string_with_ascii_escape.rs (renamed from crates/ra_syntax/test_data/lexer/err/0019_unclosed_string_with_ascii_escape.rs)0
-rw-r--r--crates/syntax/test_data/lexer/err/0019_unclosed_string_with_ascii_escape.txt (renamed from crates/ra_syntax/test_data/lexer/err/0019_unclosed_string_with_ascii_escape.txt)0
-rw-r--r--crates/syntax/test_data/lexer/err/0020_unclosed_string_with_unicode_escape.rs (renamed from crates/ra_syntax/test_data/lexer/err/0020_unclosed_string_with_unicode_escape.rs)0
-rw-r--r--crates/syntax/test_data/lexer/err/0020_unclosed_string_with_unicode_escape.txt (renamed from crates/ra_syntax/test_data/lexer/err/0020_unclosed_string_with_unicode_escape.txt)0
-rw-r--r--crates/syntax/test_data/lexer/err/0021_unclosed_string_with_space.rs (renamed from crates/ra_syntax/test_data/lexer/err/0021_unclosed_string_with_space.rs)0
-rw-r--r--crates/syntax/test_data/lexer/err/0021_unclosed_string_with_space.txt (renamed from crates/ra_syntax/test_data/lexer/err/0021_unclosed_string_with_space.txt)0
-rw-r--r--crates/syntax/test_data/lexer/err/0022_unclosed_string_with_slash.rs (renamed from crates/ra_syntax/test_data/lexer/err/0022_unclosed_string_with_slash.rs)0
-rw-r--r--crates/syntax/test_data/lexer/err/0022_unclosed_string_with_slash.txt (renamed from crates/ra_syntax/test_data/lexer/err/0022_unclosed_string_with_slash.txt)0
-rw-r--r--crates/syntax/test_data/lexer/err/0023_unclosed_string_with_slash_n.rs (renamed from crates/ra_syntax/test_data/lexer/err/0023_unclosed_string_with_slash_n.rs)0
-rw-r--r--crates/syntax/test_data/lexer/err/0023_unclosed_string_with_slash_n.txt (renamed from crates/ra_syntax/test_data/lexer/err/0023_unclosed_string_with_slash_n.txt)0
-rw-r--r--crates/syntax/test_data/lexer/err/0024_unclosed_string_with_slash_double_quote.rs (renamed from crates/ra_syntax/test_data/lexer/err/0024_unclosed_string_with_slash_double_quote.rs)0
-rw-r--r--crates/syntax/test_data/lexer/err/0024_unclosed_string_with_slash_double_quote.txt (renamed from crates/ra_syntax/test_data/lexer/err/0024_unclosed_string_with_slash_double_quote.txt)0
-rw-r--r--crates/syntax/test_data/lexer/err/0025_unclosed_byte_string_at_eof.rs (renamed from crates/ra_syntax/test_data/lexer/err/0025_unclosed_byte_string_at_eof.rs)0
-rw-r--r--crates/syntax/test_data/lexer/err/0025_unclosed_byte_string_at_eof.txt (renamed from crates/ra_syntax/test_data/lexer/err/0025_unclosed_byte_string_at_eof.txt)0
-rw-r--r--crates/syntax/test_data/lexer/err/0026_unclosed_byte_string_with_ferris.rs (renamed from crates/ra_syntax/test_data/lexer/err/0026_unclosed_byte_string_with_ferris.rs)0
-rw-r--r--crates/syntax/test_data/lexer/err/0026_unclosed_byte_string_with_ferris.txt (renamed from crates/ra_syntax/test_data/lexer/err/0026_unclosed_byte_string_with_ferris.txt)0
-rw-r--r--crates/syntax/test_data/lexer/err/0027_unclosed_byte_string_with_ascii_escape.rs (renamed from crates/ra_syntax/test_data/lexer/err/0027_unclosed_byte_string_with_ascii_escape.rs)0
-rw-r--r--crates/syntax/test_data/lexer/err/0027_unclosed_byte_string_with_ascii_escape.txt (renamed from crates/ra_syntax/test_data/lexer/err/0027_unclosed_byte_string_with_ascii_escape.txt)0
-rw-r--r--crates/syntax/test_data/lexer/err/0028_unclosed_byte_string_with_unicode_escape.rs (renamed from crates/ra_syntax/test_data/lexer/err/0028_unclosed_byte_string_with_unicode_escape.rs)0
-rw-r--r--crates/syntax/test_data/lexer/err/0028_unclosed_byte_string_with_unicode_escape.txt (renamed from crates/ra_syntax/test_data/lexer/err/0028_unclosed_byte_string_with_unicode_escape.txt)0
-rw-r--r--crates/syntax/test_data/lexer/err/0029_unclosed_byte_string_with_space.rs (renamed from crates/ra_syntax/test_data/lexer/err/0029_unclosed_byte_string_with_space.rs)0
-rw-r--r--crates/syntax/test_data/lexer/err/0029_unclosed_byte_string_with_space.txt (renamed from crates/ra_syntax/test_data/lexer/err/0029_unclosed_byte_string_with_space.txt)0
-rw-r--r--crates/syntax/test_data/lexer/err/0030_unclosed_byte_string_with_slash.rs (renamed from crates/ra_syntax/test_data/lexer/err/0030_unclosed_byte_string_with_slash.rs)0
-rw-r--r--crates/syntax/test_data/lexer/err/0030_unclosed_byte_string_with_slash.txt (renamed from crates/ra_syntax/test_data/lexer/err/0030_unclosed_byte_string_with_slash.txt)0
-rw-r--r--crates/syntax/test_data/lexer/err/0031_unclosed_byte_string_with_slash_n.rs (renamed from crates/ra_syntax/test_data/lexer/err/0031_unclosed_byte_string_with_slash_n.rs)0
-rw-r--r--crates/syntax/test_data/lexer/err/0031_unclosed_byte_string_with_slash_n.txt (renamed from crates/ra_syntax/test_data/lexer/err/0031_unclosed_byte_string_with_slash_n.txt)0
-rw-r--r--crates/syntax/test_data/lexer/err/0032_unclosed_byte_string_with_slash_double_quote.rs (renamed from crates/ra_syntax/test_data/lexer/err/0032_unclosed_byte_string_with_slash_double_quote.rs)0
-rw-r--r--crates/syntax/test_data/lexer/err/0032_unclosed_byte_string_with_slash_double_quote.txt (renamed from crates/ra_syntax/test_data/lexer/err/0032_unclosed_byte_string_with_slash_double_quote.txt)0
-rw-r--r--crates/syntax/test_data/lexer/err/0033_unclosed_raw_string_at_eof.rs (renamed from crates/ra_syntax/test_data/lexer/err/0033_unclosed_raw_string_at_eof.rs)0
-rw-r--r--crates/syntax/test_data/lexer/err/0033_unclosed_raw_string_at_eof.txt (renamed from crates/ra_syntax/test_data/lexer/err/0033_unclosed_raw_string_at_eof.txt)0
-rw-r--r--crates/syntax/test_data/lexer/err/0034_unclosed_raw_string_with_ferris.rs (renamed from crates/ra_syntax/test_data/lexer/err/0034_unclosed_raw_string_with_ferris.rs)0
-rw-r--r--crates/syntax/test_data/lexer/err/0034_unclosed_raw_string_with_ferris.txt (renamed from crates/ra_syntax/test_data/lexer/err/0034_unclosed_raw_string_with_ferris.txt)0
-rw-r--r--crates/syntax/test_data/lexer/err/0035_unclosed_raw_string_with_ascii_escape.rs (renamed from crates/ra_syntax/test_data/lexer/err/0035_unclosed_raw_string_with_ascii_escape.rs)0
-rw-r--r--crates/syntax/test_data/lexer/err/0035_unclosed_raw_string_with_ascii_escape.txt (renamed from crates/ra_syntax/test_data/lexer/err/0035_unclosed_raw_string_with_ascii_escape.txt)0
-rw-r--r--crates/syntax/test_data/lexer/err/0036_unclosed_raw_string_with_unicode_escape.rs (renamed from crates/ra_syntax/test_data/lexer/err/0036_unclosed_raw_string_with_unicode_escape.rs)0
-rw-r--r--crates/syntax/test_data/lexer/err/0036_unclosed_raw_string_with_unicode_escape.txt (renamed from crates/ra_syntax/test_data/lexer/err/0036_unclosed_raw_string_with_unicode_escape.txt)0
-rw-r--r--crates/syntax/test_data/lexer/err/0037_unclosed_raw_string_with_space.rs (renamed from crates/ra_syntax/test_data/lexer/err/0037_unclosed_raw_string_with_space.rs)0
-rw-r--r--crates/syntax/test_data/lexer/err/0037_unclosed_raw_string_with_space.txt (renamed from crates/ra_syntax/test_data/lexer/err/0037_unclosed_raw_string_with_space.txt)0
-rw-r--r--crates/syntax/test_data/lexer/err/0038_unclosed_raw_string_with_slash.rs (renamed from crates/ra_syntax/test_data/lexer/err/0038_unclosed_raw_string_with_slash.rs)0
-rw-r--r--crates/syntax/test_data/lexer/err/0038_unclosed_raw_string_with_slash.txt (renamed from crates/ra_syntax/test_data/lexer/err/0038_unclosed_raw_string_with_slash.txt)0
-rw-r--r--crates/syntax/test_data/lexer/err/0039_unclosed_raw_string_with_slash_n.rs (renamed from crates/ra_syntax/test_data/lexer/err/0039_unclosed_raw_string_with_slash_n.rs)0
-rw-r--r--crates/syntax/test_data/lexer/err/0039_unclosed_raw_string_with_slash_n.txt (renamed from crates/ra_syntax/test_data/lexer/err/0039_unclosed_raw_string_with_slash_n.txt)0
-rw-r--r--crates/syntax/test_data/lexer/err/0040_unclosed_raw_byte_string_at_eof.rs (renamed from crates/ra_syntax/test_data/lexer/err/0040_unclosed_raw_byte_string_at_eof.rs)0
-rw-r--r--crates/syntax/test_data/lexer/err/0040_unclosed_raw_byte_string_at_eof.txt (renamed from crates/ra_syntax/test_data/lexer/err/0040_unclosed_raw_byte_string_at_eof.txt)0
-rw-r--r--crates/syntax/test_data/lexer/err/0041_unclosed_raw_byte_string_with_ferris.rs (renamed from crates/ra_syntax/test_data/lexer/err/0041_unclosed_raw_byte_string_with_ferris.rs)0
-rw-r--r--crates/syntax/test_data/lexer/err/0041_unclosed_raw_byte_string_with_ferris.txt (renamed from crates/ra_syntax/test_data/lexer/err/0041_unclosed_raw_byte_string_with_ferris.txt)0
-rw-r--r--crates/syntax/test_data/lexer/err/0042_unclosed_raw_byte_string_with_ascii_escape.rs (renamed from crates/ra_syntax/test_data/lexer/err/0042_unclosed_raw_byte_string_with_ascii_escape.rs)0
-rw-r--r--crates/syntax/test_data/lexer/err/0042_unclosed_raw_byte_string_with_ascii_escape.txt (renamed from crates/ra_syntax/test_data/lexer/err/0042_unclosed_raw_byte_string_with_ascii_escape.txt)0
-rw-r--r--crates/syntax/test_data/lexer/err/0043_unclosed_raw_byte_string_with_unicode_escape.rs (renamed from crates/ra_syntax/test_data/lexer/err/0043_unclosed_raw_byte_string_with_unicode_escape.rs)0
-rw-r--r--crates/syntax/test_data/lexer/err/0043_unclosed_raw_byte_string_with_unicode_escape.txt (renamed from crates/ra_syntax/test_data/lexer/err/0043_unclosed_raw_byte_string_with_unicode_escape.txt)0
-rw-r--r--crates/syntax/test_data/lexer/err/0044_unclosed_raw_byte_string_with_space.rs (renamed from crates/ra_syntax/test_data/lexer/err/0044_unclosed_raw_byte_string_with_space.rs)0
-rw-r--r--crates/syntax/test_data/lexer/err/0044_unclosed_raw_byte_string_with_space.txt (renamed from crates/ra_syntax/test_data/lexer/err/0044_unclosed_raw_byte_string_with_space.txt)0
-rw-r--r--crates/syntax/test_data/lexer/err/0045_unclosed_raw_byte_string_with_slash.rs (renamed from crates/ra_syntax/test_data/lexer/err/0045_unclosed_raw_byte_string_with_slash.rs)0
-rw-r--r--crates/syntax/test_data/lexer/err/0045_unclosed_raw_byte_string_with_slash.txt (renamed from crates/ra_syntax/test_data/lexer/err/0045_unclosed_raw_byte_string_with_slash.txt)0
-rw-r--r--crates/syntax/test_data/lexer/err/0046_unclosed_raw_byte_string_with_slash_n.rs (renamed from crates/ra_syntax/test_data/lexer/err/0046_unclosed_raw_byte_string_with_slash_n.rs)0
-rw-r--r--crates/syntax/test_data/lexer/err/0046_unclosed_raw_byte_string_with_slash_n.txt (renamed from crates/ra_syntax/test_data/lexer/err/0046_unclosed_raw_byte_string_with_slash_n.txt)0
-rw-r--r--crates/syntax/test_data/lexer/err/0047_unstarted_raw_string_at_eof.rs (renamed from crates/ra_syntax/test_data/lexer/err/0047_unstarted_raw_string_at_eof.rs)0
-rw-r--r--crates/syntax/test_data/lexer/err/0047_unstarted_raw_string_at_eof.txt (renamed from crates/ra_syntax/test_data/lexer/err/0047_unstarted_raw_string_at_eof.txt)0
-rw-r--r--crates/syntax/test_data/lexer/err/0048_unstarted_raw_byte_string_at_eof.rs (renamed from crates/ra_syntax/test_data/lexer/err/0048_unstarted_raw_byte_string_at_eof.rs)0
-rw-r--r--crates/syntax/test_data/lexer/err/0048_unstarted_raw_byte_string_at_eof.txt (renamed from crates/ra_syntax/test_data/lexer/err/0048_unstarted_raw_byte_string_at_eof.txt)0
-rw-r--r--crates/syntax/test_data/lexer/err/0049_unstarted_raw_string_with_ascii.rs (renamed from crates/ra_syntax/test_data/lexer/err/0049_unstarted_raw_string_with_ascii.rs)0
-rw-r--r--crates/syntax/test_data/lexer/err/0049_unstarted_raw_string_with_ascii.txt (renamed from crates/ra_syntax/test_data/lexer/err/0049_unstarted_raw_string_with_ascii.txt)0
-rw-r--r--crates/syntax/test_data/lexer/err/0050_unstarted_raw_byte_string_with_ascii.rs (renamed from crates/ra_syntax/test_data/lexer/err/0050_unstarted_raw_byte_string_with_ascii.rs)0
-rw-r--r--crates/syntax/test_data/lexer/err/0050_unstarted_raw_byte_string_with_ascii.txt (renamed from crates/ra_syntax/test_data/lexer/err/0050_unstarted_raw_byte_string_with_ascii.txt)0
-rw-r--r--crates/syntax/test_data/lexer/err/0051_unclosed_block_comment_at_eof.rs (renamed from crates/ra_syntax/test_data/lexer/err/0051_unclosed_block_comment_at_eof.rs)0
-rw-r--r--crates/syntax/test_data/lexer/err/0051_unclosed_block_comment_at_eof.txt (renamed from crates/ra_syntax/test_data/lexer/err/0051_unclosed_block_comment_at_eof.txt)0
-rw-r--r--crates/syntax/test_data/lexer/err/0052_unclosed_block_comment_with_content.rs (renamed from crates/ra_syntax/test_data/lexer/err/0052_unclosed_block_comment_with_content.rs)0
-rw-r--r--crates/syntax/test_data/lexer/err/0052_unclosed_block_comment_with_content.txt (renamed from crates/ra_syntax/test_data/lexer/err/0052_unclosed_block_comment_with_content.txt)0
-rw-r--r--crates/syntax/test_data/lexer/err/0053_unclosed_nested_block_comment_entirely.rs (renamed from crates/ra_syntax/test_data/lexer/err/0053_unclosed_nested_block_comment_entirely.rs)0
-rw-r--r--crates/syntax/test_data/lexer/err/0053_unclosed_nested_block_comment_entirely.txt (renamed from crates/ra_syntax/test_data/lexer/err/0053_unclosed_nested_block_comment_entirely.txt)0
-rw-r--r--crates/syntax/test_data/lexer/err/0054_unclosed_nested_block_comment_partially.rs (renamed from crates/ra_syntax/test_data/lexer/err/0054_unclosed_nested_block_comment_partially.rs)0
-rw-r--r--crates/syntax/test_data/lexer/err/0054_unclosed_nested_block_comment_partially.txt (renamed from crates/ra_syntax/test_data/lexer/err/0054_unclosed_nested_block_comment_partially.txt)0
-rw-r--r--crates/syntax/test_data/lexer/err/0055_empty_int.rs (renamed from crates/ra_syntax/test_data/lexer/err/0055_empty_int.rs)0
-rw-r--r--crates/syntax/test_data/lexer/err/0055_empty_int.txt (renamed from crates/ra_syntax/test_data/lexer/err/0055_empty_int.txt)0
-rw-r--r--crates/syntax/test_data/lexer/err/0056_empty_exponent.rs (renamed from crates/ra_syntax/test_data/lexer/err/0056_empty_exponent.rs)0
-rw-r--r--crates/syntax/test_data/lexer/err/0056_empty_exponent.txt (renamed from crates/ra_syntax/test_data/lexer/err/0056_empty_exponent.txt)0
-rw-r--r--crates/syntax/test_data/lexer/err/0057_lifetime_strarts_with_a_number.rs (renamed from crates/ra_syntax/test_data/lexer/err/0057_lifetime_strarts_with_a_number.rs)0
-rw-r--r--crates/syntax/test_data/lexer/err/0057_lifetime_strarts_with_a_number.txt (renamed from crates/ra_syntax/test_data/lexer/err/0057_lifetime_strarts_with_a_number.txt)0
-rw-r--r--crates/syntax/test_data/lexer/ok/0001_hello.rs (renamed from crates/ra_syntax/test_data/lexer/ok/0001_hello.rs)0
-rw-r--r--crates/syntax/test_data/lexer/ok/0001_hello.txt (renamed from crates/ra_syntax/test_data/lexer/ok/0001_hello.txt)0
-rw-r--r--crates/syntax/test_data/lexer/ok/0002_whitespace.rs (renamed from crates/ra_syntax/test_data/lexer/ok/0002_whitespace.rs)0
-rw-r--r--crates/syntax/test_data/lexer/ok/0002_whitespace.txt (renamed from crates/ra_syntax/test_data/lexer/ok/0002_whitespace.txt)0
-rw-r--r--crates/syntax/test_data/lexer/ok/0003_ident.rs (renamed from crates/ra_syntax/test_data/lexer/ok/0003_ident.rs)0
-rw-r--r--crates/syntax/test_data/lexer/ok/0003_ident.txt (renamed from crates/ra_syntax/test_data/lexer/ok/0003_ident.txt)0
-rw-r--r--crates/syntax/test_data/lexer/ok/0004_numbers.rs (renamed from crates/ra_syntax/test_data/lexer/ok/0004_numbers.rs)0
-rw-r--r--crates/syntax/test_data/lexer/ok/0004_numbers.txt (renamed from crates/ra_syntax/test_data/lexer/ok/0004_numbers.txt)0
-rw-r--r--crates/syntax/test_data/lexer/ok/0005_symbols.rs (renamed from crates/ra_syntax/test_data/lexer/ok/0005_symbols.rs)0
-rw-r--r--crates/syntax/test_data/lexer/ok/0005_symbols.txt (renamed from crates/ra_syntax/test_data/lexer/ok/0005_symbols.txt)0
-rw-r--r--crates/syntax/test_data/lexer/ok/0006_chars.rs (renamed from crates/ra_syntax/test_data/lexer/ok/0006_chars.rs)0
-rw-r--r--crates/syntax/test_data/lexer/ok/0006_chars.txt (renamed from crates/ra_syntax/test_data/lexer/ok/0006_chars.txt)0
-rw-r--r--crates/syntax/test_data/lexer/ok/0007_lifetimes.rs (renamed from crates/ra_syntax/test_data/lexer/ok/0007_lifetimes.rs)0
-rw-r--r--crates/syntax/test_data/lexer/ok/0007_lifetimes.txt (renamed from crates/ra_syntax/test_data/lexer/ok/0007_lifetimes.txt)0
-rw-r--r--crates/syntax/test_data/lexer/ok/0008_byte_strings.rs (renamed from crates/ra_syntax/test_data/lexer/ok/0008_byte_strings.rs)0
-rw-r--r--crates/syntax/test_data/lexer/ok/0008_byte_strings.txt (renamed from crates/ra_syntax/test_data/lexer/ok/0008_byte_strings.txt)0
-rw-r--r--crates/syntax/test_data/lexer/ok/0009_strings.rs (renamed from crates/ra_syntax/test_data/lexer/ok/0009_strings.rs)0
-rw-r--r--crates/syntax/test_data/lexer/ok/0009_strings.txt (renamed from crates/ra_syntax/test_data/lexer/ok/0009_strings.txt)0
-rw-r--r--crates/syntax/test_data/lexer/ok/0010_single_line_comments.rs (renamed from crates/ra_syntax/test_data/lexer/ok/0010_single_line_comments.rs)0
-rw-r--r--crates/syntax/test_data/lexer/ok/0010_single_line_comments.txt (renamed from crates/ra_syntax/test_data/lexer/ok/0010_single_line_comments.txt)0
-rw-r--r--crates/syntax/test_data/lexer/ok/0011_keywords.rs (renamed from crates/ra_syntax/test_data/lexer/ok/0011_keywords.rs)0
-rw-r--r--crates/syntax/test_data/lexer/ok/0011_keywords.txt (renamed from crates/ra_syntax/test_data/lexer/ok/0011_keywords.txt)0
-rw-r--r--crates/syntax/test_data/lexer/ok/0012_block_comment.rs (renamed from crates/ra_syntax/test_data/lexer/ok/0012_block_comment.rs)0
-rw-r--r--crates/syntax/test_data/lexer/ok/0012_block_comment.txt (renamed from crates/ra_syntax/test_data/lexer/ok/0012_block_comment.txt)0
-rw-r--r--crates/syntax/test_data/lexer/ok/0013_raw_strings.rs (renamed from crates/ra_syntax/test_data/lexer/ok/0013_raw_strings.rs)0
-rw-r--r--crates/syntax/test_data/lexer/ok/0013_raw_strings.txt (renamed from crates/ra_syntax/test_data/lexer/ok/0013_raw_strings.txt)0
-rw-r--r--crates/syntax/test_data/lexer/ok/0014_raw_ident.rs (renamed from crates/ra_syntax/test_data/lexer/ok/0014_raw_ident.rs)0
-rw-r--r--crates/syntax/test_data/lexer/ok/0014_raw_ident.txt (renamed from crates/ra_syntax/test_data/lexer/ok/0014_raw_ident.txt)0
-rw-r--r--crates/syntax/test_data/parser/err/0000_struct_field_missing_comma.rast (renamed from crates/ra_syntax/test_data/parser/err/0000_struct_field_missing_comma.rast)0
-rw-r--r--crates/syntax/test_data/parser/err/0000_struct_field_missing_comma.rs (renamed from crates/ra_syntax/test_data/parser/err/0000_struct_field_missing_comma.rs)0
-rw-r--r--crates/syntax/test_data/parser/err/0001_item_recovery_in_file.rast (renamed from crates/ra_syntax/test_data/parser/err/0001_item_recovery_in_file.rast)0
-rw-r--r--crates/syntax/test_data/parser/err/0001_item_recovery_in_file.rs (renamed from crates/ra_syntax/test_data/parser/err/0001_item_recovery_in_file.rs)0
-rw-r--r--crates/syntax/test_data/parser/err/0002_duplicate_shebang.rast (renamed from crates/ra_syntax/test_data/parser/err/0002_duplicate_shebang.rast)0
-rw-r--r--crates/syntax/test_data/parser/err/0002_duplicate_shebang.rs (renamed from crates/ra_syntax/test_data/parser/err/0002_duplicate_shebang.rs)0
-rw-r--r--crates/syntax/test_data/parser/err/0003_C++_semicolon.rast (renamed from crates/ra_syntax/test_data/parser/err/0003_C++_semicolon.rast)0
-rw-r--r--crates/syntax/test_data/parser/err/0003_C++_semicolon.rs (renamed from crates/ra_syntax/test_data/parser/err/0003_C++_semicolon.rs)0
-rw-r--r--crates/syntax/test_data/parser/err/0004_use_path_bad_segment.rast (renamed from crates/ra_syntax/test_data/parser/err/0004_use_path_bad_segment.rast)0
-rw-r--r--crates/syntax/test_data/parser/err/0004_use_path_bad_segment.rs (renamed from crates/ra_syntax/test_data/parser/err/0004_use_path_bad_segment.rs)0
-rw-r--r--crates/syntax/test_data/parser/err/0005_attribute_recover.rast (renamed from crates/ra_syntax/test_data/parser/err/0005_attribute_recover.rast)0
-rw-r--r--crates/syntax/test_data/parser/err/0005_attribute_recover.rs (renamed from crates/ra_syntax/test_data/parser/err/0005_attribute_recover.rs)0
-rw-r--r--crates/syntax/test_data/parser/err/0006_named_field_recovery.rast (renamed from crates/ra_syntax/test_data/parser/err/0006_named_field_recovery.rast)0
-rw-r--r--crates/syntax/test_data/parser/err/0006_named_field_recovery.rs (renamed from crates/ra_syntax/test_data/parser/err/0006_named_field_recovery.rs)0
-rw-r--r--crates/syntax/test_data/parser/err/0007_stray_curly_in_file.rast (renamed from crates/ra_syntax/test_data/parser/err/0007_stray_curly_in_file.rast)0
-rw-r--r--crates/syntax/test_data/parser/err/0007_stray_curly_in_file.rs (renamed from crates/ra_syntax/test_data/parser/err/0007_stray_curly_in_file.rs)0
-rw-r--r--crates/syntax/test_data/parser/err/0008_item_block_recovery.rast (renamed from crates/ra_syntax/test_data/parser/err/0008_item_block_recovery.rast)0
-rw-r--r--crates/syntax/test_data/parser/err/0008_item_block_recovery.rs (renamed from crates/ra_syntax/test_data/parser/err/0008_item_block_recovery.rs)0
-rw-r--r--crates/syntax/test_data/parser/err/0009_broken_struct_type_parameter.rast (renamed from crates/ra_syntax/test_data/parser/err/0009_broken_struct_type_parameter.rast)0
-rw-r--r--crates/syntax/test_data/parser/err/0009_broken_struct_type_parameter.rs (renamed from crates/ra_syntax/test_data/parser/err/0009_broken_struct_type_parameter.rs)0
-rw-r--r--crates/syntax/test_data/parser/err/0010_unsafe_lambda_block.rast (renamed from crates/ra_syntax/test_data/parser/err/0010_unsafe_lambda_block.rast)0
-rw-r--r--crates/syntax/test_data/parser/err/0010_unsafe_lambda_block.rs (renamed from crates/ra_syntax/test_data/parser/err/0010_unsafe_lambda_block.rs)0
-rw-r--r--crates/syntax/test_data/parser/err/0011_extern_struct.rast (renamed from crates/ra_syntax/test_data/parser/err/0011_extern_struct.rast)0
-rw-r--r--crates/syntax/test_data/parser/err/0011_extern_struct.rs (renamed from crates/ra_syntax/test_data/parser/err/0011_extern_struct.rs)0
-rw-r--r--crates/syntax/test_data/parser/err/0012_broken_lambda.rast (renamed from crates/ra_syntax/test_data/parser/err/0012_broken_lambda.rast)0
-rw-r--r--crates/syntax/test_data/parser/err/0013_invalid_type.rast (renamed from crates/ra_syntax/test_data/parser/err/0013_invalid_type.rast)0
-rw-r--r--crates/syntax/test_data/parser/err/0013_invalid_type.rs (renamed from crates/ra_syntax/test_data/parser/err/0013_invalid_type.rs)0
-rw-r--r--crates/syntax/test_data/parser/err/0014_where_no_bounds.rast (renamed from crates/ra_syntax/test_data/parser/err/0014_where_no_bounds.rast)0
-rw-r--r--crates/syntax/test_data/parser/err/0014_where_no_bounds.rs (renamed from crates/ra_syntax/test_data/parser/err/0014_where_no_bounds.rs)0
-rw-r--r--crates/syntax/test_data/parser/err/0015_curly_in_params.rast (renamed from crates/ra_syntax/test_data/parser/err/0015_curly_in_params.rast)0
-rw-r--r--crates/syntax/test_data/parser/err/0015_curly_in_params.rs (renamed from crates/ra_syntax/test_data/parser/err/0015_curly_in_params.rs)0
-rw-r--r--crates/syntax/test_data/parser/err/0016_missing_semi.rast (renamed from crates/ra_syntax/test_data/parser/err/0016_missing_semi.rast)0
-rw-r--r--crates/syntax/test_data/parser/err/0016_missing_semi.rs (renamed from crates/ra_syntax/test_data/parser/err/0016_missing_semi.rs)0
-rw-r--r--crates/syntax/test_data/parser/err/0017_incomplete_binexpr.rast (renamed from crates/ra_syntax/test_data/parser/err/0017_incomplete_binexpr.rast)0
-rw-r--r--crates/syntax/test_data/parser/err/0017_incomplete_binexpr.rs (renamed from crates/ra_syntax/test_data/parser/err/0017_incomplete_binexpr.rs)0
-rw-r--r--crates/syntax/test_data/parser/err/0018_incomplete_fn.rast (renamed from crates/ra_syntax/test_data/parser/err/0018_incomplete_fn.rast)0
-rw-r--r--crates/syntax/test_data/parser/err/0018_incomplete_fn.rs (renamed from crates/ra_syntax/test_data/parser/err/0018_incomplete_fn.rs)0
-rw-r--r--crates/syntax/test_data/parser/err/0019_let_recover.rast (renamed from crates/ra_syntax/test_data/parser/err/0019_let_recover.rast)0
-rw-r--r--crates/syntax/test_data/parser/err/0019_let_recover.rs (renamed from crates/ra_syntax/test_data/parser/err/0019_let_recover.rs)0
-rw-r--r--crates/syntax/test_data/parser/err/0020_fn_recover.rast (renamed from crates/ra_syntax/test_data/parser/err/0020_fn_recover.rast)0
-rw-r--r--crates/syntax/test_data/parser/err/0020_fn_recover.rs (renamed from crates/ra_syntax/test_data/parser/err/0020_fn_recover.rs)0
-rw-r--r--crates/syntax/test_data/parser/err/0021_incomplete_param.rast (renamed from crates/ra_syntax/test_data/parser/err/0021_incomplete_param.rast)0
-rw-r--r--crates/syntax/test_data/parser/err/0021_incomplete_param.rs (renamed from crates/ra_syntax/test_data/parser/err/0021_incomplete_param.rs)0
-rw-r--r--crates/syntax/test_data/parser/err/0022_bad_exprs.rast (renamed from crates/ra_syntax/test_data/parser/err/0022_bad_exprs.rast)0
-rw-r--r--crates/syntax/test_data/parser/err/0022_bad_exprs.rs (renamed from crates/ra_syntax/test_data/parser/err/0022_bad_exprs.rs)0
-rw-r--r--crates/syntax/test_data/parser/err/0023_mismatched_paren.rast (renamed from crates/ra_syntax/test_data/parser/err/0023_mismatched_paren.rast)0
-rw-r--r--crates/syntax/test_data/parser/err/0023_mismatched_paren.rs (renamed from crates/ra_syntax/test_data/parser/err/0023_mismatched_paren.rs)0
-rw-r--r--crates/syntax/test_data/parser/err/0024_many_type_parens.rast (renamed from crates/ra_syntax/test_data/parser/err/0024_many_type_parens.rast)0
-rw-r--r--crates/syntax/test_data/parser/err/0024_many_type_parens.rs (renamed from crates/ra_syntax/test_data/parser/err/0024_many_type_parens.rs)0
-rw-r--r--crates/syntax/test_data/parser/err/0025_nope.rast (renamed from crates/ra_syntax/test_data/parser/err/0025_nope.rast)0
-rw-r--r--crates/syntax/test_data/parser/err/0025_nope.rs (renamed from crates/ra_syntax/test_data/parser/err/0025_nope.rs)0
-rw-r--r--crates/syntax/test_data/parser/err/0026_imp_recovery.rast (renamed from crates/ra_syntax/test_data/parser/err/0026_imp_recovery.rast)0
-rw-r--r--crates/syntax/test_data/parser/err/0026_imp_recovery.rs (renamed from crates/ra_syntax/test_data/parser/err/0026_imp_recovery.rs)0
-rw-r--r--crates/syntax/test_data/parser/err/0027_incomplere_where_for.rast (renamed from crates/ra_syntax/test_data/parser/err/0027_incomplere_where_for.rast)0
-rw-r--r--crates/syntax/test_data/parser/err/0027_incomplere_where_for.rs (renamed from crates/ra_syntax/test_data/parser/err/0027_incomplere_where_for.rs)0
-rw-r--r--crates/syntax/test_data/parser/err/0029_field_completion.rast (renamed from crates/ra_syntax/test_data/parser/err/0029_field_completion.rast)0
-rw-r--r--crates/syntax/test_data/parser/err/0029_field_completion.rs (renamed from crates/ra_syntax/test_data/parser/err/0029_field_completion.rs)0
-rw-r--r--crates/syntax/test_data/parser/err/0031_block_inner_attrs.rast (renamed from crates/ra_syntax/test_data/parser/err/0031_block_inner_attrs.rast)0
-rw-r--r--crates/syntax/test_data/parser/err/0031_block_inner_attrs.rs (renamed from crates/ra_syntax/test_data/parser/err/0031_block_inner_attrs.rs)0
-rw-r--r--crates/syntax/test_data/parser/err/0032_match_arms_inner_attrs.rast (renamed from crates/ra_syntax/test_data/parser/err/0032_match_arms_inner_attrs.rast)0
-rw-r--r--crates/syntax/test_data/parser/err/0032_match_arms_inner_attrs.rs (renamed from crates/ra_syntax/test_data/parser/err/0032_match_arms_inner_attrs.rs)0
-rw-r--r--crates/syntax/test_data/parser/err/0033_match_arms_outer_attrs.rast (renamed from crates/ra_syntax/test_data/parser/err/0033_match_arms_outer_attrs.rast)0
-rw-r--r--crates/syntax/test_data/parser/err/0033_match_arms_outer_attrs.rs (renamed from crates/ra_syntax/test_data/parser/err/0033_match_arms_outer_attrs.rs)0
-rw-r--r--crates/syntax/test_data/parser/err/0034_bad_box_pattern.rast (renamed from crates/ra_syntax/test_data/parser/err/0034_bad_box_pattern.rast)0
-rw-r--r--crates/syntax/test_data/parser/err/0034_bad_box_pattern.rs (renamed from crates/ra_syntax/test_data/parser/err/0034_bad_box_pattern.rs)0
-rw-r--r--crates/syntax/test_data/parser/err/0035_use_recover.rast (renamed from crates/ra_syntax/test_data/parser/err/0035_use_recover.rast)0
-rw-r--r--crates/syntax/test_data/parser/err/0035_use_recover.rs (renamed from crates/ra_syntax/test_data/parser/err/0035_use_recover.rs)0
-rw-r--r--crates/syntax/test_data/parser/err/0036_partial_use.rast (renamed from crates/ra_syntax/test_data/parser/err/0036_partial_use.rast)0
-rw-r--r--crates/syntax/test_data/parser/err/0036_partial_use.rs (renamed from crates/ra_syntax/test_data/parser/err/0036_partial_use.rs)0
-rw-r--r--crates/syntax/test_data/parser/err/0037_visibility_in_traits.rast (renamed from crates/ra_syntax/test_data/parser/err/0037_visibility_in_traits.rast)0
-rw-r--r--crates/syntax/test_data/parser/err/0037_visibility_in_traits.rs (renamed from crates/ra_syntax/test_data/parser/err/0037_visibility_in_traits.rs)0
-rw-r--r--crates/syntax/test_data/parser/err/0038_endless_inclusive_range.rast (renamed from crates/ra_syntax/test_data/parser/err/0038_endless_inclusive_range.rast)0
-rw-r--r--crates/syntax/test_data/parser/err/0038_endless_inclusive_range.rs (renamed from crates/ra_syntax/test_data/parser/err/0038_endless_inclusive_range.rs)0
-rw-r--r--crates/syntax/test_data/parser/err/0039_lambda_recovery.rast (renamed from crates/ra_syntax/test_data/parser/err/0039_lambda_recovery.rast)0
-rw-r--r--crates/syntax/test_data/parser/err/0039_lambda_recovery.rs (renamed from crates/ra_syntax/test_data/parser/err/0039_lambda_recovery.rs)0
-rw-r--r--crates/syntax/test_data/parser/err/0040_illegal_crate_kw_location.rast (renamed from crates/ra_syntax/test_data/parser/err/0040_illegal_crate_kw_location.rast)0
-rw-r--r--crates/syntax/test_data/parser/err/0040_illegal_crate_kw_location.rs (renamed from crates/ra_syntax/test_data/parser/err/0040_illegal_crate_kw_location.rs)0
-rw-r--r--crates/syntax/test_data/parser/err/0041_illegal_super_keyword_location.rast (renamed from crates/ra_syntax/test_data/parser/err/0041_illegal_super_keyword_location.rast)0
-rw-r--r--crates/syntax/test_data/parser/err/0041_illegal_super_keyword_location.rs (renamed from crates/ra_syntax/test_data/parser/err/0041_illegal_super_keyword_location.rs)0
-rw-r--r--crates/syntax/test_data/parser/err/0042_illegal_self_keyword_location.rast (renamed from crates/ra_syntax/test_data/parser/err/0042_illegal_self_keyword_location.rast)0
-rw-r--r--crates/syntax/test_data/parser/err/0042_illegal_self_keyword_location.rs (renamed from crates/ra_syntax/test_data/parser/err/0042_illegal_self_keyword_location.rs)0
-rw-r--r--crates/syntax/test_data/parser/err/0043_weird_blocks.rast (renamed from crates/ra_syntax/test_data/parser/err/0163_weird_blocks.rast)0
-rw-r--r--crates/syntax/test_data/parser/err/0043_weird_blocks.rs (renamed from crates/ra_syntax/test_data/parser/err/0163_weird_blocks.rs)0
-rw-r--r--crates/syntax/test_data/parser/err/0044_unexpected_for_type.rast (renamed from crates/ra_syntax/test_data/parser/err/0044_unexpected_for_type.rast)0
-rw-r--r--crates/syntax/test_data/parser/err/0044_unexpected_for_type.rs (renamed from crates/ra_syntax/test_data/parser/err/0044_unexpected_for_type.rs)0
-rw-r--r--crates/syntax/test_data/parser/err/0045_item_modifiers.rast (renamed from crates/ra_syntax/test_data/parser/inline/err/0010_wrong_order_fns.rast)0
-rw-r--r--crates/syntax/test_data/parser/err/0045_item_modifiers.rs (renamed from crates/ra_syntax/test_data/parser/inline/err/0010_wrong_order_fns.rs)0
-rw-r--r--crates/syntax/test_data/parser/fragments/expr/err/0000_truncated_add.rast (renamed from crates/ra_syntax/test_data/parser/fragments/expr/err/0000_truncated_add.rast)0
-rw-r--r--crates/syntax/test_data/parser/fragments/expr/err/0000_truncated_add.rs (renamed from crates/ra_syntax/test_data/parser/fragments/expr/err/0000_truncated_add.rs)0
-rw-r--r--crates/syntax/test_data/parser/fragments/expr/ok/0000_add.rast (renamed from crates/ra_syntax/test_data/parser/fragments/expr/ok/0000_add.rast)0
-rw-r--r--crates/syntax/test_data/parser/fragments/expr/ok/0000_add.rs (renamed from crates/ra_syntax/test_data/parser/fragments/expr/ok/0000_add.rs)0
-rw-r--r--crates/syntax/test_data/parser/fragments/item/err/0000_extra_keyword.rast (renamed from crates/ra_syntax/test_data/parser/fragments/item/err/0000_extra_keyword.rast)0
-rw-r--r--crates/syntax/test_data/parser/fragments/item/err/0000_extra_keyword.rs (renamed from crates/ra_syntax/test_data/parser/fragments/item/err/0000_extra_keyword.rs)0
-rw-r--r--crates/syntax/test_data/parser/fragments/item/ok/0000_fn.rast (renamed from crates/ra_syntax/test_data/parser/fragments/item/ok/0000_fn.rast)0
-rw-r--r--crates/syntax/test_data/parser/fragments/item/ok/0000_fn.rs (renamed from crates/ra_syntax/test_data/parser/fragments/item/ok/0000_fn.rs)0
-rw-r--r--crates/syntax/test_data/parser/fragments/path/err/0000_reserved_word.rast (renamed from crates/ra_syntax/test_data/parser/fragments/path/err/0000_reserved_word.rast)0
-rw-r--r--crates/syntax/test_data/parser/fragments/path/err/0000_reserved_word.rs (renamed from crates/ra_syntax/test_data/parser/fragments/path/err/0000_reserved_word.rs)0
-rw-r--r--crates/syntax/test_data/parser/fragments/path/err/0001_expression.rast (renamed from crates/ra_syntax/test_data/parser/fragments/path/err/0001_expression.rast)0
-rw-r--r--crates/syntax/test_data/parser/fragments/path/err/0001_expression.rs (renamed from crates/ra_syntax/test_data/parser/fragments/path/err/0001_expression.rs)0
-rw-r--r--crates/syntax/test_data/parser/fragments/path/ok/0000_single_ident.rast (renamed from crates/ra_syntax/test_data/parser/fragments/path/ok/0000_single_ident.rast)0
-rw-r--r--crates/syntax/test_data/parser/fragments/path/ok/0000_single_ident.rs (renamed from crates/ra_syntax/test_data/parser/fragments/path/ok/0000_single_ident.rs)0
-rw-r--r--crates/syntax/test_data/parser/fragments/path/ok/0001_multipart.rast (renamed from crates/ra_syntax/test_data/parser/fragments/path/ok/0001_multipart.rast)0
-rw-r--r--crates/syntax/test_data/parser/fragments/path/ok/0001_multipart.rs (renamed from crates/ra_syntax/test_data/parser/fragments/path/ok/0001_multipart.rs)0
-rw-r--r--crates/syntax/test_data/parser/fragments/pattern/err/0000_reserved_word.rast (renamed from crates/ra_syntax/test_data/parser/fragments/pattern/err/0000_reserved_word.rast)0
-rw-r--r--crates/syntax/test_data/parser/fragments/pattern/err/0000_reserved_word.rs (renamed from crates/ra_syntax/test_data/parser/fragments/pattern/err/0000_reserved_word.rs)0
-rw-r--r--crates/syntax/test_data/parser/fragments/pattern/err/0001_missing_paren.rast (renamed from crates/ra_syntax/test_data/parser/fragments/pattern/err/0001_missing_paren.rast)0
-rw-r--r--crates/syntax/test_data/parser/fragments/pattern/err/0001_missing_paren.rs (renamed from crates/ra_syntax/test_data/parser/fragments/pattern/err/0001_missing_paren.rs)0
-rw-r--r--crates/syntax/test_data/parser/fragments/pattern/ok/0000_enum.rast (renamed from crates/ra_syntax/test_data/parser/fragments/pattern/ok/0000_enum.rast)0
-rw-r--r--crates/syntax/test_data/parser/fragments/pattern/ok/0000_enum.rs (renamed from crates/ra_syntax/test_data/parser/fragments/pattern/ok/0000_enum.rs)0
-rw-r--r--crates/syntax/test_data/parser/fragments/type/err/0000_missing_close.rast (renamed from crates/ra_syntax/test_data/parser/fragments/type/err/0000_missing_close.rast)0
-rw-r--r--crates/syntax/test_data/parser/fragments/type/err/0000_missing_close.rs (renamed from crates/ra_syntax/test_data/parser/fragments/type/err/0000_missing_close.rs)0
-rw-r--r--crates/syntax/test_data/parser/fragments/type/ok/0000_result.rast (renamed from crates/ra_syntax/test_data/parser/fragments/type/ok/0000_result.rast)0
-rw-r--r--crates/syntax/test_data/parser/fragments/type/ok/0000_result.rs (renamed from crates/ra_syntax/test_data/parser/fragments/type/ok/0000_result.rs)0
-rw-r--r--crates/syntax/test_data/parser/fuzz-failures/0000.rs (renamed from crates/ra_syntax/test_data/parser/fuzz-failures/0000.rs)0
-rw-r--r--crates/syntax/test_data/parser/fuzz-failures/0001.rs106
-rw-r--r--crates/syntax/test_data/parser/fuzz-failures/0002.rs (renamed from crates/ra_syntax/test_data/parser/fuzz-failures/0002.rs)0
-rw-r--r--crates/syntax/test_data/parser/fuzz-failures/0003.rs (renamed from crates/ra_syntax/test_data/parser/fuzz-failures/0003.rs)0
-rw-r--r--crates/syntax/test_data/parser/fuzz-failures/0004.rs (renamed from crates/ra_syntax/test_data/parser/fuzz-failures/0004.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/err/0001_array_type_missing_semi.rast (renamed from crates/ra_syntax/test_data/parser/inline/err/0001_array_type_missing_semi.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/err/0001_array_type_missing_semi.rs (renamed from crates/ra_syntax/test_data/parser/inline/err/0001_array_type_missing_semi.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/err/0002_misplaced_label_err.rast (renamed from crates/ra_syntax/test_data/parser/inline/err/0002_misplaced_label_err.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/err/0002_misplaced_label_err.rs (renamed from crates/ra_syntax/test_data/parser/inline/err/0002_misplaced_label_err.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/err/0003_pointer_type_no_mutability.rast (renamed from crates/ra_syntax/test_data/parser/inline/err/0003_pointer_type_no_mutability.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/err/0003_pointer_type_no_mutability.rs (renamed from crates/ra_syntax/test_data/parser/inline/err/0003_pointer_type_no_mutability.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/err/0004_impl_type.rast (renamed from crates/ra_syntax/test_data/parser/inline/err/0004_impl_type.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/err/0004_impl_type.rs (renamed from crates/ra_syntax/test_data/parser/inline/err/0004_impl_type.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/err/0005_fn_pointer_type_missing_fn.rast (renamed from crates/ra_syntax/test_data/parser/inline/err/0005_fn_pointer_type_missing_fn.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/err/0005_fn_pointer_type_missing_fn.rs (renamed from crates/ra_syntax/test_data/parser/inline/err/0005_fn_pointer_type_missing_fn.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/err/0006_unsafe_block_in_mod.rast (renamed from crates/ra_syntax/test_data/parser/inline/err/0006_unsafe_block_in_mod.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/err/0006_unsafe_block_in_mod.rs (renamed from crates/ra_syntax/test_data/parser/inline/err/0006_unsafe_block_in_mod.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/err/0007_async_without_semicolon.rast (renamed from crates/ra_syntax/test_data/parser/inline/err/0007_async_without_semicolon.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/err/0007_async_without_semicolon.rs (renamed from crates/ra_syntax/test_data/parser/inline/err/0007_async_without_semicolon.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/err/0008_pub_expr.rast (renamed from crates/ra_syntax/test_data/parser/inline/err/0008_pub_expr.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/err/0008_pub_expr.rs (renamed from crates/ra_syntax/test_data/parser/inline/err/0008_pub_expr.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/err/0009_attr_on_expr_not_allowed.rast (renamed from crates/ra_syntax/test_data/parser/inline/err/0009_attr_on_expr_not_allowed.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/err/0009_attr_on_expr_not_allowed.rs (renamed from crates/ra_syntax/test_data/parser/inline/err/0009_attr_on_expr_not_allowed.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/err/0010_bad_tuple_index_expr.rast (renamed from crates/ra_syntax/test_data/parser/inline/err/0010_bad_tuple_index_expr.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/err/0010_bad_tuple_index_expr.rs (renamed from crates/ra_syntax/test_data/parser/inline/err/0010_bad_tuple_index_expr.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/err/0013_static_underscore.rast (renamed from crates/ra_syntax/test_data/parser/inline/err/0013_static_underscore.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/err/0013_static_underscore.rs (renamed from crates/ra_syntax/test_data/parser/inline/err/0013_static_underscore.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/err/0014_record_literal_before_ellipsis_recovery.rast (renamed from crates/ra_syntax/test_data/parser/inline/err/0014_record_literal_before_ellipsis_recovery.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/err/0014_record_literal_before_ellipsis_recovery.rs (renamed from crates/ra_syntax/test_data/parser/inline/err/0014_record_literal_before_ellipsis_recovery.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/err/0015_empty_segment.rast13
-rw-r--r--crates/syntax/test_data/parser/inline/err/0015_empty_segment.rs (renamed from crates/ra_syntax/test_data/parser/inline/err/0015_empty_segment.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0002_use_tree_list.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0002_use_tree_list.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0002_use_tree_list.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0002_use_tree_list.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0003_where_pred_for.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0003_where_pred_for.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0003_where_pred_for.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0003_where_pred_for.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0004_value_parameters_no_patterns.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0004_value_parameters_no_patterns.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0004_value_parameters_no_patterns.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0004_value_parameters_no_patterns.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0005_function_type_params.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0005_function_type_params.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0005_function_type_params.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0005_function_type_params.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0006_self_param.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0006_self_param.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0006_self_param.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0006_self_param.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0007_type_param_bounds.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0007_type_param_bounds.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0007_type_param_bounds.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0007_type_param_bounds.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0008_path_part.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0008_path_part.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0008_path_part.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0008_path_part.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0009_loop_expr.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0009_loop_expr.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0009_loop_expr.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0009_loop_expr.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0010_extern_block.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0010_extern_block.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0010_extern_block.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0010_extern_block.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0011_field_expr.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0011_field_expr.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0011_field_expr.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0011_field_expr.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0012_type_item_where_clause.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0012_type_item_where_clause.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0012_type_item_where_clause.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0012_type_item_where_clause.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0013_pointer_type_mut.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0013_pointer_type_mut.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0013_pointer_type_mut.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0013_pointer_type_mut.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0014_never_type.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0014_never_type.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0014_never_type.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0014_never_type.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0015_continue_expr.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0015_continue_expr.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0015_continue_expr.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0015_continue_expr.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0017_array_type.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0017_array_type.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0017_array_type.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0017_array_type.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0018_arb_self_types.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0018_arb_self_types.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0018_arb_self_types.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0018_arb_self_types.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0019_unary_expr.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0019_unary_expr.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0019_unary_expr.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0019_unary_expr.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0020_use_star.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0020_use_star.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0020_use_star.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0020_use_star.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0021_impl_item_list.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0021_impl_item_list.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0021_impl_item_list.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0021_impl_item_list.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0022_crate_visibility.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0022_crate_visibility.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0022_crate_visibility.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0022_crate_visibility.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0023_placeholder_type.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0023_placeholder_type.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0023_placeholder_type.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0023_placeholder_type.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0024_slice_pat.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0024_slice_pat.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0024_slice_pat.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0024_slice_pat.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0025_slice_type.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0025_slice_type.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0025_slice_type.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0025_slice_type.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0026_tuple_pat_fields.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0026_tuple_pat_fields.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0026_tuple_pat_fields.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0026_tuple_pat_fields.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0027_ref_pat.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0027_ref_pat.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0027_ref_pat.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0027_ref_pat.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0028_impl_trait_type.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0028_impl_trait_type.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0028_impl_trait_type.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0028_impl_trait_type.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0029_cast_expr.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0029_cast_expr.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0029_cast_expr.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0029_cast_expr.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0030_cond.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0030_cond.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0030_cond.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0030_cond.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0031_while_expr.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0031_while_expr.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0031_while_expr.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0031_while_expr.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0032_fn_pointer_type.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0032_fn_pointer_type.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0032_fn_pointer_type.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0032_fn_pointer_type.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0033_reference_type;.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0033_reference_type;.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0033_reference_type;.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0033_reference_type;.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0034_break_expr.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0034_break_expr.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0034_break_expr.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0034_break_expr.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0037_qual_paths.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0037_qual_paths.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0037_qual_paths.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0037_qual_paths.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0038_full_range_expr.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0038_full_range_expr.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0038_full_range_expr.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0038_full_range_expr.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0039_type_arg.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0039_type_arg.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0039_type_arg.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0039_type_arg.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0040_crate_keyword_vis.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0040_crate_keyword_vis.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0040_crate_keyword_vis.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0040_crate_keyword_vis.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0041_trait_item.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0041_trait_item.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0041_trait_item.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0041_trait_item.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0042_call_expr.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0042_call_expr.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0042_call_expr.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0042_call_expr.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0043_use_alias.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0043_use_alias.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0043_use_alias.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0043_use_alias.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0044_block_items.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0044_block_items.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0044_block_items.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0044_block_items.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0045_param_list_opt_patterns.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0045_param_list_opt_patterns.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0045_param_list_opt_patterns.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0045_param_list_opt_patterns.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0046_singleton_tuple_type.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0046_singleton_tuple_type.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0046_singleton_tuple_type.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0046_singleton_tuple_type.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0048_path_type_with_bounds.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0048_path_type_with_bounds.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0048_path_type_with_bounds.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0048_path_type_with_bounds.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0050_fn_decl.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0050_fn_decl.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0050_fn_decl.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0050_fn_decl.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0051_unit_type.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0051_unit_type.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0051_unit_type.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0051_unit_type.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0052_path_type.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0052_path_type.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0052_path_type.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0052_path_type.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0053_path_expr.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0053_path_expr.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0053_path_expr.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0053_path_expr.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0054_record_field_attrs.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0054_record_field_attrs.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0054_record_field_attrs.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0054_record_field_attrs.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0055_literal_pattern.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0055_literal_pattern.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0055_literal_pattern.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0055_literal_pattern.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0056_where_clause.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0056_where_clause.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0056_where_clause.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0056_where_clause.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0058_range_pat.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0058_range_pat.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0058_range_pat.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0058_range_pat.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0059_match_arms_commas.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0059_match_arms_commas.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0059_match_arms_commas.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0059_match_arms_commas.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0060_extern_crate.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0060_extern_crate.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0060_extern_crate.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0060_extern_crate.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0061_record_lit.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0061_record_lit.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0061_record_lit.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0061_record_lit.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0062_mod_contents.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0062_mod_contents.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0062_mod_contents.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0062_mod_contents.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0063_impl_def_neg.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0063_impl_def_neg.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0063_impl_def_neg.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0063_impl_def_neg.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0064_if_expr.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0064_if_expr.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0064_if_expr.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0064_if_expr.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0065_dyn_trait_type.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0065_dyn_trait_type.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0065_dyn_trait_type.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0065_dyn_trait_type.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0066_match_arm.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0066_match_arm.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0066_match_arm.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0066_match_arm.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0067_crate_path.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0067_crate_path.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0067_crate_path.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0067_crate_path.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0068_union_items.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0068_union_items.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0068_union_items.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0068_union_items.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0069_use_tree_list_after_path.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0069_use_tree_list_after_path.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0069_use_tree_list_after_path.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0069_use_tree_list_after_path.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0070_stmt_bin_expr_ambiguity.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0070_stmt_bin_expr_ambiguity.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0070_stmt_bin_expr_ambiguity.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0070_stmt_bin_expr_ambiguity.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0071_match_expr.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0071_match_expr.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0071_match_expr.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0071_match_expr.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0072_return_expr.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0072_return_expr.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0072_return_expr.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0072_return_expr.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0073_type_item_type_params.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0073_type_item_type_params.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0073_type_item_type_params.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0073_type_item_type_params.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0074_stmt_postfix_expr_ambiguity.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0074_stmt_postfix_expr_ambiguity.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0074_stmt_postfix_expr_ambiguity.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0074_stmt_postfix_expr_ambiguity.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0075_block.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0075_block.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0075_block.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0075_block.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0076_function_where_clause.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0076_function_where_clause.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0076_function_where_clause.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0076_function_where_clause.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0077_try_expr.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0077_try_expr.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0077_try_expr.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0077_try_expr.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0078_type_item.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0078_type_item.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0078_type_item.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0078_type_item.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0079_impl_def.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0079_impl_def.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0079_impl_def.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0079_impl_def.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0080_postfix_range.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0080_postfix_range.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0080_postfix_range.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0080_postfix_range.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0081_for_type.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0081_for_type.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0081_for_type.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0081_for_type.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0082_ref_expr.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0082_ref_expr.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0082_ref_expr.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0082_ref_expr.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0083_struct_items.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0083_struct_items.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0083_struct_items.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0083_struct_items.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0084_paren_type.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0084_paren_type.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0084_paren_type.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0084_paren_type.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0085_expr_literals.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0085_expr_literals.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0085_expr_literals.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0085_expr_literals.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0086_function_ret_type.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0086_function_ret_type.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0086_function_ret_type.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0086_function_ret_type.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0088_break_ambiguity.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0088_break_ambiguity.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0088_break_ambiguity.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0088_break_ambiguity.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0090_type_param_default.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0090_type_param_default.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0090_type_param_default.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0090_type_param_default.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0092_fn_pointer_type_with_ret.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0092_fn_pointer_type_with_ret.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0092_fn_pointer_type_with_ret.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0092_fn_pointer_type_with_ret.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0093_index_expr.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0093_index_expr.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0093_index_expr.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0093_index_expr.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0095_placeholder_pat.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0095_placeholder_pat.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0095_placeholder_pat.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0095_placeholder_pat.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0096_no_semi_after_block.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0096_no_semi_after_block.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0096_no_semi_after_block.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0096_no_semi_after_block.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0099_param_list.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0099_param_list.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0099_param_list.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0099_param_list.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0100_for_expr.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0100_for_expr.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0100_for_expr.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0100_for_expr.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0102_record_field_pat_list.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0102_record_field_pat_list.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0102_record_field_pat_list.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0102_record_field_pat_list.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0103_array_expr.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0103_array_expr.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0103_array_expr.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0103_array_expr.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0104_path_fn_trait_args.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0104_path_fn_trait_args.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0104_path_fn_trait_args.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0104_path_fn_trait_args.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0106_lambda_expr.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0106_lambda_expr.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0106_lambda_expr.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0106_lambda_expr.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0107_method_call_expr.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0107_method_call_expr.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0107_method_call_expr.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0107_method_call_expr.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0108_tuple_expr.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0108_tuple_expr.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0108_tuple_expr.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0108_tuple_expr.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0109_label.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0109_label.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0109_label.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0109_label.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0110_use_path.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0110_use_path.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0110_use_path.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0110_use_path.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0111_tuple_pat.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0111_tuple_pat.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0111_tuple_pat.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0111_tuple_pat.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0112_bind_pat.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0112_bind_pat.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0112_bind_pat.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0112_bind_pat.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0113_nocontentexpr.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0113_nocontentexpr.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0113_nocontentexpr.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0113_nocontentexpr.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0114_tuple_struct_where.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0114_tuple_struct_where.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0114_tuple_struct_where.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0114_tuple_struct_where.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0115_tuple_field_attrs.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0115_tuple_field_attrs.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0115_tuple_field_attrs.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0115_tuple_field_attrs.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0117_macro_call_type.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0117_macro_call_type.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0117_macro_call_type.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0117_macro_call_type.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0118_impl_inner_attributes.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0118_impl_inner_attributes.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0118_impl_inner_attributes.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0118_impl_inner_attributes.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0118_match_guard.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0118_match_guard.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0118_match_guard.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0118_match_guard.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0120_match_arms_inner_attribute.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0120_match_arms_inner_attribute.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0120_match_arms_inner_attribute.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0120_match_arms_inner_attribute.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0121_match_arms_outer_attributes.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0121_match_arms_outer_attributes.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0121_match_arms_outer_attributes.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0121_match_arms_outer_attributes.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0122_generic_lifetime_type_attribute.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0122_generic_lifetime_type_attribute.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0122_generic_lifetime_type_attribute.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0122_generic_lifetime_type_attribute.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0123_param_list_vararg.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0123_param_list_vararg.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0123_param_list_vararg.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0123_param_list_vararg.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0125_crate_keyword_path.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0125_crate_keyword_path.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0125_crate_keyword_path.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0125_crate_keyword_path.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0125_record_literal_field_with_attr.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0125_record_literal_field_with_attr.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0125_record_literal_field_with_attr.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0125_record_literal_field_with_attr.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0126_attr_on_expr_stmt.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0126_attr_on_expr_stmt.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0126_attr_on_expr_stmt.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0126_attr_on_expr_stmt.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0127_attr_on_last_expr_in_block.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0127_attr_on_last_expr_in_block.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0127_attr_on_last_expr_in_block.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0127_attr_on_last_expr_in_block.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0129_marco_pat.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0129_marco_pat.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0129_marco_pat.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0129_marco_pat.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0130_let_stmt.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0130_let_stmt.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0130_let_stmt.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0130_let_stmt.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0130_try_block_expr.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0130_try_block_expr.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0130_try_block_expr.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0130_try_block_expr.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0131_existential_type.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0131_existential_type.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0131_existential_type.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0131_existential_type.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0132_box_expr.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0132_box_expr.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0132_box_expr.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0132_box_expr.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0134_nocontentexpr_after_item.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0134_nocontentexpr_after_item.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0134_nocontentexpr_after_item.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0134_nocontentexpr_after_item.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0137_await_expr.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0137_await_expr.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0137_await_expr.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0137_await_expr.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0138_associated_type_bounds.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0138_associated_type_bounds.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0138_associated_type_bounds.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0138_associated_type_bounds.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0138_expression_after_block.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0138_expression_after_block.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0138_expression_after_block.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0138_expression_after_block.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0138_self_param_outer_attr.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0138_self_param_outer_attr.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0138_self_param_outer_attr.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0138_self_param_outer_attr.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0139_param_outer_arg.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0139_param_outer_arg.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0139_param_outer_arg.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0139_param_outer_arg.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0142_for_range_from.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0142_for_range_from.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0142_for_range_from.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0142_for_range_from.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0143_box_pat.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0143_box_pat.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0143_box_pat.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0143_box_pat.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0144_dot_dot_pat.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0144_dot_dot_pat.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0144_dot_dot_pat.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0144_dot_dot_pat.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0145_record_field_pat.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0145_record_field_pat.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0145_record_field_pat.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0145_record_field_pat.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0146_as_precedence.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0146_as_precedence.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0146_as_precedence.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0146_as_precedence.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0147_const_param.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0147_const_param.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0147_const_param.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0147_const_param.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0147_macro_def.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0147_macro_def.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0147_macro_def.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0147_macro_def.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0148_pub_macro_def.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0148_pub_macro_def.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0148_pub_macro_def.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0148_pub_macro_def.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0150_array_attrs.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0150_array_attrs.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0150_array_attrs.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0150_array_attrs.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0150_impl_type_params.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0150_impl_type_params.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0150_impl_type_params.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0150_impl_type_params.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0151_fn.rast14
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0151_fn.rs1
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0151_trait_alias.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0151_trait_alias.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0151_trait_alias.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0151_trait_alias.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0152_arg_with_attr.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0152_arg_with_attr.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0152_arg_with_attr.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0152_arg_with_attr.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0152_impl.rast22
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0152_impl.rs1
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0153_trait.rast11
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0153_trait.rs1
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0154_fn_pointer_param_ident_path.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0154_fn_pointer_param_ident_path.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0154_fn_pointer_param_ident_path.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0154_fn_pointer_param_ident_path.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0155_closure_params.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0155_closure_params.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0155_closure_params.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0155_closure_params.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0156_fn_def_param.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0156_fn_def_param.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0156_fn_def_param.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0156_fn_def_param.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0156_or_pattern.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0156_or_pattern.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0156_or_pattern.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0156_or_pattern.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0157_fn_pointer_unnamed_arg.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0157_fn_pointer_unnamed_arg.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0157_fn_pointer_unnamed_arg.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0157_fn_pointer_unnamed_arg.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0157_variant_discriminant.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0157_variant_discriminant.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0157_variant_discriminant.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0157_variant_discriminant.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0158_binop_resets_statementness.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0158_binop_resets_statementness.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0158_binop_resets_statementness.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0158_binop_resets_statementness.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0158_lambda_ret_block.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0158_lambda_ret_block.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0158_lambda_ret_block.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0158_lambda_ret_block.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0159_try_macro_fallback.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0159_try_macro_fallback.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0159_try_macro_fallback.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0159_try_macro_fallback.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0160_try_macro_rules.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0160_try_macro_rules.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0160_try_macro_rules.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0160_try_macro_rules.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0161_labeled_block.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0161_labeled_block.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0161_labeled_block.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0161_labeled_block.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0162_unsafe_block.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0162_unsafe_block.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0162_unsafe_block.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0162_unsafe_block.rs)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0163_default_unsafe_item.rast44
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0163_default_unsafe_item.rs3
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0164_default_item.rast24
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0164_default_item.rs1
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0164_type_path_in_pattern.rast (renamed from crates/ra_syntax/test_data/parser/inline/ok/0164_type_path_in_pattern.rast)0
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0164_type_path_in_pattern.rs (renamed from crates/ra_syntax/test_data/parser/inline/ok/0164_type_path_in_pattern.rs)0
-rw-r--r--crates/syntax/test_data/parser/ok/0000_empty.rast (renamed from crates/ra_syntax/test_data/parser/ok/0000_empty.rast)0
-rw-r--r--crates/syntax/test_data/parser/ok/0000_empty.rs (renamed from crates/ra_syntax/test_data/parser/ok/0000_empty.rs)0
-rw-r--r--crates/syntax/test_data/parser/ok/0001_struct_item.rast (renamed from crates/ra_syntax/test_data/parser/ok/0001_struct_item.rast)0
-rw-r--r--crates/syntax/test_data/parser/ok/0001_struct_item.rs (renamed from crates/ra_syntax/test_data/parser/ok/0001_struct_item.rs)0
-rw-r--r--crates/syntax/test_data/parser/ok/0002_struct_item_field.rast (renamed from crates/ra_syntax/test_data/parser/ok/0002_struct_item_field.rast)0
-rw-r--r--crates/syntax/test_data/parser/ok/0002_struct_item_field.rs (renamed from crates/ra_syntax/test_data/parser/ok/0002_struct_item_field.rs)0
-rw-r--r--crates/syntax/test_data/parser/ok/0004_file_shebang.rast (renamed from crates/ra_syntax/test_data/parser/ok/0004_file_shebang.rast)0
-rw-r--r--crates/syntax/test_data/parser/ok/0004_file_shebang.rs (renamed from crates/ra_syntax/test_data/parser/ok/0004_file_shebang.rs)0
-rw-r--r--crates/syntax/test_data/parser/ok/0005_fn_item.rast (renamed from crates/ra_syntax/test_data/parser/ok/0005_fn_item.rast)0
-rw-r--r--crates/syntax/test_data/parser/ok/0005_fn_item.rs (renamed from crates/ra_syntax/test_data/parser/ok/0005_fn_item.rs)0
-rw-r--r--crates/syntax/test_data/parser/ok/0006_inner_attributes.rast (renamed from crates/ra_syntax/test_data/parser/ok/0006_inner_attributes.rast)0
-rw-r--r--crates/syntax/test_data/parser/ok/0006_inner_attributes.rs (renamed from crates/ra_syntax/test_data/parser/ok/0006_inner_attributes.rs)0
-rw-r--r--crates/syntax/test_data/parser/ok/0007_extern_crate.rast (renamed from crates/ra_syntax/test_data/parser/ok/0007_extern_crate.rast)0
-rw-r--r--crates/syntax/test_data/parser/ok/0007_extern_crate.rs (renamed from crates/ra_syntax/test_data/parser/ok/0007_extern_crate.rs)0
-rw-r--r--crates/syntax/test_data/parser/ok/0008_mod_item.rast (renamed from crates/ra_syntax/test_data/parser/ok/0008_mod_item.rast)0
-rw-r--r--crates/syntax/test_data/parser/ok/0008_mod_item.rs (renamed from crates/ra_syntax/test_data/parser/ok/0008_mod_item.rs)0
-rw-r--r--crates/syntax/test_data/parser/ok/0009_use_item.rast (renamed from crates/ra_syntax/test_data/parser/ok/0009_use_item.rast)0
-rw-r--r--crates/syntax/test_data/parser/ok/0009_use_item.rs (renamed from crates/ra_syntax/test_data/parser/ok/0009_use_item.rs)0
-rw-r--r--crates/syntax/test_data/parser/ok/0010_use_path_segments.rast (renamed from crates/ra_syntax/test_data/parser/ok/0010_use_path_segments.rast)0
-rw-r--r--crates/syntax/test_data/parser/ok/0010_use_path_segments.rs (renamed from crates/ra_syntax/test_data/parser/ok/0010_use_path_segments.rs)0
-rw-r--r--crates/syntax/test_data/parser/ok/0011_outer_attribute.rast (renamed from crates/ra_syntax/test_data/parser/ok/0011_outer_attribute.rast)0
-rw-r--r--crates/syntax/test_data/parser/ok/0011_outer_attribute.rs (renamed from crates/ra_syntax/test_data/parser/ok/0011_outer_attribute.rs)0
-rw-r--r--crates/syntax/test_data/parser/ok/0012_visibility.rast (renamed from crates/ra_syntax/test_data/parser/ok/0012_visibility.rast)0
-rw-r--r--crates/syntax/test_data/parser/ok/0012_visibility.rs (renamed from crates/ra_syntax/test_data/parser/ok/0012_visibility.rs)0
-rw-r--r--crates/syntax/test_data/parser/ok/0013_use_path_self_super.rast (renamed from crates/ra_syntax/test_data/parser/ok/0013_use_path_self_super.rast)0
-rw-r--r--crates/syntax/test_data/parser/ok/0013_use_path_self_super.rs (renamed from crates/ra_syntax/test_data/parser/ok/0013_use_path_self_super.rs)0
-rw-r--r--crates/syntax/test_data/parser/ok/0014_use_tree.rast (renamed from crates/ra_syntax/test_data/parser/ok/0014_use_tree.rast)0
-rw-r--r--crates/syntax/test_data/parser/ok/0014_use_tree.rs (renamed from crates/ra_syntax/test_data/parser/ok/0014_use_tree.rs)0
-rw-r--r--crates/syntax/test_data/parser/ok/0015_use_tree.rast (renamed from crates/ra_syntax/test_data/parser/ok/0015_use_tree.rast)0
-rw-r--r--crates/syntax/test_data/parser/ok/0015_use_tree.rs (renamed from crates/ra_syntax/test_data/parser/ok/0015_use_tree.rs)0
-rw-r--r--crates/syntax/test_data/parser/ok/0016_struct_flavors.rast (renamed from crates/ra_syntax/test_data/parser/ok/0016_struct_flavors.rast)0
-rw-r--r--crates/syntax/test_data/parser/ok/0016_struct_flavors.rs (renamed from crates/ra_syntax/test_data/parser/ok/0016_struct_flavors.rs)0
-rw-r--r--crates/syntax/test_data/parser/ok/0017_attr_trailing_comma.rast (renamed from crates/ra_syntax/test_data/parser/ok/0017_attr_trailing_comma.rast)0
-rw-r--r--crates/syntax/test_data/parser/ok/0017_attr_trailing_comma.rs (renamed from crates/ra_syntax/test_data/parser/ok/0017_attr_trailing_comma.rs)0
-rw-r--r--crates/syntax/test_data/parser/ok/0018_struct_type_params.rast (renamed from crates/ra_syntax/test_data/parser/ok/0018_struct_type_params.rast)0
-rw-r--r--crates/syntax/test_data/parser/ok/0018_struct_type_params.rs (renamed from crates/ra_syntax/test_data/parser/ok/0018_struct_type_params.rs)0
-rw-r--r--crates/syntax/test_data/parser/ok/0019_enums.rast (renamed from crates/ra_syntax/test_data/parser/ok/0019_enums.rast)0
-rw-r--r--crates/syntax/test_data/parser/ok/0019_enums.rs (renamed from crates/ra_syntax/test_data/parser/ok/0019_enums.rs)0
-rw-r--r--crates/syntax/test_data/parser/ok/0020_type_param_bounds.rast (renamed from crates/ra_syntax/test_data/parser/ok/0020_type_param_bounds.rast)0
-rw-r--r--crates/syntax/test_data/parser/ok/0020_type_param_bounds.rs (renamed from crates/ra_syntax/test_data/parser/ok/0020_type_param_bounds.rs)0
-rw-r--r--crates/syntax/test_data/parser/ok/0022_empty_extern_block.rast (renamed from crates/ra_syntax/test_data/parser/ok/0022_empty_extern_block.rast)0
-rw-r--r--crates/syntax/test_data/parser/ok/0022_empty_extern_block.rs (renamed from crates/ra_syntax/test_data/parser/ok/0022_empty_extern_block.rs)0
-rw-r--r--crates/syntax/test_data/parser/ok/0023_static_items.rast (renamed from crates/ra_syntax/test_data/parser/ok/0023_static_items.rast)0
-rw-r--r--crates/syntax/test_data/parser/ok/0023_static_items.rs (renamed from crates/ra_syntax/test_data/parser/ok/0023_static_items.rs)0
-rw-r--r--crates/syntax/test_data/parser/ok/0024_const_item.rast (renamed from crates/ra_syntax/test_data/parser/ok/0024_const_item.rast)0
-rw-r--r--crates/syntax/test_data/parser/ok/0024_const_item.rs (renamed from crates/ra_syntax/test_data/parser/ok/0024_const_item.rs)0
-rw-r--r--crates/syntax/test_data/parser/ok/0025_extern_fn_in_block.rast (renamed from crates/ra_syntax/test_data/parser/ok/0025_extern_fn_in_block.rast)0
-rw-r--r--crates/syntax/test_data/parser/ok/0025_extern_fn_in_block.rs (renamed from crates/ra_syntax/test_data/parser/ok/0025_extern_fn_in_block.rs)0
-rw-r--r--crates/syntax/test_data/parser/ok/0026_const_fn_in_block.rast (renamed from crates/ra_syntax/test_data/parser/ok/0026_const_fn_in_block.rast)0
-rw-r--r--crates/syntax/test_data/parser/ok/0026_const_fn_in_block.rs (renamed from crates/ra_syntax/test_data/parser/ok/0026_const_fn_in_block.rs)0
-rw-r--r--crates/syntax/test_data/parser/ok/0027_unsafe_fn_in_block.rast (renamed from crates/ra_syntax/test_data/parser/ok/0027_unsafe_fn_in_block.rast)0
-rw-r--r--crates/syntax/test_data/parser/ok/0027_unsafe_fn_in_block.rs (renamed from crates/ra_syntax/test_data/parser/ok/0027_unsafe_fn_in_block.rs)0
-rw-r--r--crates/syntax/test_data/parser/ok/0028_operator_binding_power.rast (renamed from crates/ra_syntax/test_data/parser/ok/0028_operator_binding_power.rast)0
-rw-r--r--crates/syntax/test_data/parser/ok/0028_operator_binding_power.rs (renamed from crates/ra_syntax/test_data/parser/ok/0028_operator_binding_power.rs)0
-rw-r--r--crates/syntax/test_data/parser/ok/0029_range_forms.rast (renamed from crates/ra_syntax/test_data/parser/ok/0029_range_forms.rast)0
-rw-r--r--crates/syntax/test_data/parser/ok/0029_range_forms.rs (renamed from crates/ra_syntax/test_data/parser/ok/0029_range_forms.rs)0
-rw-r--r--crates/syntax/test_data/parser/ok/0030_string_suffixes.rast (renamed from crates/ra_syntax/test_data/parser/ok/0030_string_suffixes.rast)0
-rw-r--r--crates/syntax/test_data/parser/ok/0030_string_suffixes.rs (renamed from crates/ra_syntax/test_data/parser/ok/0030_string_suffixes.rs)0
-rw-r--r--crates/syntax/test_data/parser/ok/0030_traits.rast (renamed from crates/ra_syntax/test_data/parser/ok/0030_traits.rast)0
-rw-r--r--crates/syntax/test_data/parser/ok/0030_traits.rs (renamed from crates/ra_syntax/test_data/parser/ok/0030_traits.rs)0
-rw-r--r--crates/syntax/test_data/parser/ok/0031_extern.rast (renamed from crates/ra_syntax/test_data/parser/ok/0031_extern.rast)0
-rw-r--r--crates/syntax/test_data/parser/ok/0031_extern.rs (renamed from crates/ra_syntax/test_data/parser/ok/0031_extern.rs)0
-rw-r--r--crates/syntax/test_data/parser/ok/0032_where_for.rast (renamed from crates/ra_syntax/test_data/parser/ok/0032_where_for.rast)0
-rw-r--r--crates/syntax/test_data/parser/ok/0032_where_for.rs (renamed from crates/ra_syntax/test_data/parser/ok/0032_where_for.rs)0
-rw-r--r--crates/syntax/test_data/parser/ok/0033_label_break.rast (renamed from crates/ra_syntax/test_data/parser/ok/0033_label_break.rast)0
-rw-r--r--crates/syntax/test_data/parser/ok/0033_label_break.rs (renamed from crates/ra_syntax/test_data/parser/ok/0033_label_break.rs)0
-rw-r--r--crates/syntax/test_data/parser/ok/0034_crate_path_in_call.rast (renamed from crates/ra_syntax/test_data/parser/ok/0034_crate_path_in_call.rast)0
-rw-r--r--crates/syntax/test_data/parser/ok/0034_crate_path_in_call.rs (renamed from crates/ra_syntax/test_data/parser/ok/0034_crate_path_in_call.rs)0
-rw-r--r--crates/syntax/test_data/parser/ok/0035_weird_exprs.rast (renamed from crates/ra_syntax/test_data/parser/ok/0035_weird_exprs.rast)0
-rw-r--r--crates/syntax/test_data/parser/ok/0035_weird_exprs.rs (renamed from crates/ra_syntax/test_data/parser/ok/0035_weird_exprs.rs)0
-rw-r--r--crates/syntax/test_data/parser/ok/0036_fully_qualified.rast (renamed from crates/ra_syntax/test_data/parser/ok/0036_fully_qualified.rast)0
-rw-r--r--crates/syntax/test_data/parser/ok/0036_fully_qualified.rs (renamed from crates/ra_syntax/test_data/parser/ok/0036_fully_qualified.rs)0
-rw-r--r--crates/syntax/test_data/parser/ok/0037_mod.rast (renamed from crates/ra_syntax/test_data/parser/ok/0037_mod.rast)0
-rw-r--r--crates/syntax/test_data/parser/ok/0037_mod.rs (renamed from crates/ra_syntax/test_data/parser/ok/0037_mod.rs)0
-rw-r--r--crates/syntax/test_data/parser/ok/0038_where_pred_type.rast (renamed from crates/ra_syntax/test_data/parser/ok/0038_where_pred_type.rast)0
-rw-r--r--crates/syntax/test_data/parser/ok/0038_where_pred_type.rs (renamed from crates/ra_syntax/test_data/parser/ok/0038_where_pred_type.rs)0
-rw-r--r--crates/syntax/test_data/parser/ok/0039_raw_fn_item.rast (renamed from crates/ra_syntax/test_data/parser/ok/0039_raw_fn_item.rast)0
-rw-r--r--crates/syntax/test_data/parser/ok/0039_raw_fn_item.rs (renamed from crates/ra_syntax/test_data/parser/ok/0039_raw_fn_item.rs)0
-rw-r--r--crates/syntax/test_data/parser/ok/0040_raw_struct_item_field.rast (renamed from crates/ra_syntax/test_data/parser/ok/0040_raw_struct_item_field.rast)0
-rw-r--r--crates/syntax/test_data/parser/ok/0040_raw_struct_item_field.rs (renamed from crates/ra_syntax/test_data/parser/ok/0040_raw_struct_item_field.rs)0
-rw-r--r--crates/syntax/test_data/parser/ok/0041_raw_keywords.rast (renamed from crates/ra_syntax/test_data/parser/ok/0041_raw_keywords.rast)0
-rw-r--r--crates/syntax/test_data/parser/ok/0041_raw_keywords.rs (renamed from crates/ra_syntax/test_data/parser/ok/0041_raw_keywords.rs)0
-rw-r--r--crates/syntax/test_data/parser/ok/0042_ufcs_call_list.rast (renamed from crates/ra_syntax/test_data/parser/ok/0042_ufcs_call_list.rast)0
-rw-r--r--crates/syntax/test_data/parser/ok/0042_ufcs_call_list.rs (renamed from crates/ra_syntax/test_data/parser/ok/0042_ufcs_call_list.rs)0
-rw-r--r--crates/syntax/test_data/parser/ok/0043_complex_assignment.rast (renamed from crates/ra_syntax/test_data/parser/ok/0043_complex_assignment.rast)0
-rw-r--r--crates/syntax/test_data/parser/ok/0043_complex_assignment.rs (renamed from crates/ra_syntax/test_data/parser/ok/0043_complex_assignment.rs)0
-rw-r--r--crates/syntax/test_data/parser/ok/0044_let_attrs.rast (renamed from crates/ra_syntax/test_data/parser/ok/0044_let_attrs.rast)0
-rw-r--r--crates/syntax/test_data/parser/ok/0044_let_attrs.rs (renamed from crates/ra_syntax/test_data/parser/ok/0044_let_attrs.rs)0
-rw-r--r--crates/syntax/test_data/parser/ok/0045_block_inner_attrs.rast (renamed from crates/ra_syntax/test_data/parser/ok/0045_block_inner_attrs.rast)0
-rw-r--r--crates/syntax/test_data/parser/ok/0045_block_inner_attrs.rs (renamed from crates/ra_syntax/test_data/parser/ok/0045_block_inner_attrs.rs)0
-rw-r--r--crates/syntax/test_data/parser/ok/0046_extern_inner_attributes.rast (renamed from crates/ra_syntax/test_data/parser/ok/0046_extern_inner_attributes.rast)0
-rw-r--r--crates/syntax/test_data/parser/ok/0046_extern_inner_attributes.rs (renamed from crates/ra_syntax/test_data/parser/ok/0046_extern_inner_attributes.rs)0
-rw-r--r--crates/syntax/test_data/parser/ok/0047_minus_in_inner_pattern.rast (renamed from crates/ra_syntax/test_data/parser/ok/0047_minus_in_inner_pattern.rast)0
-rw-r--r--crates/syntax/test_data/parser/ok/0047_minus_in_inner_pattern.rs (renamed from crates/ra_syntax/test_data/parser/ok/0047_minus_in_inner_pattern.rs)0
-rw-r--r--crates/syntax/test_data/parser/ok/0048_compound_assignment.rast (renamed from crates/ra_syntax/test_data/parser/ok/0048_compound_assignment.rast)0
-rw-r--r--crates/syntax/test_data/parser/ok/0048_compound_assignment.rs (renamed from crates/ra_syntax/test_data/parser/ok/0048_compound_assignment.rs)0
-rw-r--r--crates/syntax/test_data/parser/ok/0049_async_block.rast (renamed from crates/ra_syntax/test_data/parser/ok/0049_async_block.rast)0
-rw-r--r--crates/syntax/test_data/parser/ok/0049_async_block.rs (renamed from crates/ra_syntax/test_data/parser/ok/0049_async_block.rs)0
-rw-r--r--crates/syntax/test_data/parser/ok/0050_async_block_as_argument.rast (renamed from crates/ra_syntax/test_data/parser/ok/0050_async_block_as_argument.rast)0
-rw-r--r--crates/syntax/test_data/parser/ok/0050_async_block_as_argument.rs (renamed from crates/ra_syntax/test_data/parser/ok/0050_async_block_as_argument.rs)0
-rw-r--r--crates/syntax/test_data/parser/ok/0051_parameter_attrs.rast (renamed from crates/ra_syntax/test_data/parser/ok/0051_parameter_attrs.rast)0
-rw-r--r--crates/syntax/test_data/parser/ok/0051_parameter_attrs.rs (renamed from crates/ra_syntax/test_data/parser/ok/0051_parameter_attrs.rs)0
-rw-r--r--crates/syntax/test_data/parser/ok/0052_for_range_block.rast (renamed from crates/ra_syntax/test_data/parser/ok/0052_for_range_block.rast)0
-rw-r--r--crates/syntax/test_data/parser/ok/0052_for_range_block.rs (renamed from crates/ra_syntax/test_data/parser/ok/0052_for_range_block.rs)0
-rw-r--r--crates/syntax/test_data/parser/ok/0053_outer_attribute_on_macro_rules.rast (renamed from crates/ra_syntax/test_data/parser/ok/0053_outer_attribute_on_macro_rules.rast)0
-rw-r--r--crates/syntax/test_data/parser/ok/0053_outer_attribute_on_macro_rules.rs (renamed from crates/ra_syntax/test_data/parser/ok/0053_outer_attribute_on_macro_rules.rs)0
-rw-r--r--crates/syntax/test_data/parser/ok/0054_qual_path_in_type_arg.rast (renamed from crates/ra_syntax/test_data/parser/ok/0054_qual_path_in_type_arg.rast)0
-rw-r--r--crates/syntax/test_data/parser/ok/0054_qual_path_in_type_arg.rs (renamed from crates/ra_syntax/test_data/parser/ok/0054_qual_path_in_type_arg.rs)0
-rw-r--r--crates/syntax/test_data/parser/ok/0055_dot_dot_dot.rast (renamed from crates/ra_syntax/test_data/parser/ok/0055_dot_dot_dot.rast)0
-rw-r--r--crates/syntax/test_data/parser/ok/0055_dot_dot_dot.rs (renamed from crates/ra_syntax/test_data/parser/ok/0055_dot_dot_dot.rs)0
-rw-r--r--crates/syntax/test_data/parser/ok/0056_neq_in_type.rast (renamed from crates/ra_syntax/test_data/parser/ok/0056_neq_in_type.rast)0
-rw-r--r--crates/syntax/test_data/parser/ok/0056_neq_in_type.rs (renamed from crates/ra_syntax/test_data/parser/ok/0056_neq_in_type.rs)0
-rw-r--r--crates/syntax/test_data/parser/ok/0057_loop_in_call.rast (renamed from crates/ra_syntax/test_data/parser/ok/0057_loop_in_call.rast)0
-rw-r--r--crates/syntax/test_data/parser/ok/0057_loop_in_call.rs (renamed from crates/ra_syntax/test_data/parser/ok/0057_loop_in_call.rs)0
-rw-r--r--crates/syntax/test_data/parser/ok/0058_unary_expr_precedence.rast (renamed from crates/ra_syntax/test_data/parser/ok/0058_unary_expr_precedence.rast)0
-rw-r--r--crates/syntax/test_data/parser/ok/0058_unary_expr_precedence.rs (renamed from crates/ra_syntax/test_data/parser/ok/0058_unary_expr_precedence.rs)0
-rw-r--r--crates/syntax/test_data/parser/ok/0059_loops_in_parens.rast (renamed from crates/ra_syntax/test_data/parser/ok/0059_loops_in_parens.rast)0
-rw-r--r--crates/syntax/test_data/parser/ok/0059_loops_in_parens.rs (renamed from crates/ra_syntax/test_data/parser/ok/0059_loops_in_parens.rs)0
-rw-r--r--crates/syntax/test_data/parser/ok/0060_as_range.rast (renamed from crates/ra_syntax/test_data/parser/ok/0060_as_range.rast)0
-rw-r--r--crates/syntax/test_data/parser/ok/0060_as_range.rs (renamed from crates/ra_syntax/test_data/parser/ok/0060_as_range.rs)0
-rw-r--r--crates/syntax/test_data/parser/ok/0061_match_full_range.rast (renamed from crates/ra_syntax/test_data/parser/ok/0061_match_full_range.rast)0
-rw-r--r--crates/syntax/test_data/parser/ok/0061_match_full_range.rs (renamed from crates/ra_syntax/test_data/parser/ok/0061_match_full_range.rs)0
-rw-r--r--crates/syntax/test_data/parser/ok/0062_macro_2.0.rast (renamed from crates/ra_syntax/test_data/parser/ok/0062_macro_2.0.rast)0
-rw-r--r--crates/syntax/test_data/parser/ok/0062_macro_2.0.rs (renamed from crates/ra_syntax/test_data/parser/ok/0062_macro_2.0.rs)0
-rw-r--r--crates/syntax/test_data/parser/ok/0063_trait_fn_patterns.rast (renamed from crates/ra_syntax/test_data/parser/ok/0063_trait_fn_patterns.rast)0
-rw-r--r--crates/syntax/test_data/parser/ok/0063_trait_fn_patterns.rs (renamed from crates/ra_syntax/test_data/parser/ok/0063_trait_fn_patterns.rs)0
-rw-r--r--crates/syntax/test_data/parser/ok/0063_variadic_fun.rast (renamed from crates/ra_syntax/test_data/parser/ok/0063_variadic_fun.rast)0
-rw-r--r--crates/syntax/test_data/parser/ok/0063_variadic_fun.rs (renamed from crates/ra_syntax/test_data/parser/ok/0063_variadic_fun.rs)0
-rw-r--r--crates/syntax/test_data/parser/ok/0064_impl_fn_params.rast (renamed from crates/ra_syntax/test_data/parser/ok/0064_impl_fn_params.rast)0
-rw-r--r--crates/syntax/test_data/parser/ok/0064_impl_fn_params.rs (renamed from crates/ra_syntax/test_data/parser/ok/0064_impl_fn_params.rs)0
-rw-r--r--crates/syntax/test_data/parser/ok/0065_comment_newline.rast (renamed from crates/ra_syntax/test_data/parser/ok/0065_comment_newline.rast)0
-rw-r--r--crates/syntax/test_data/parser/ok/0065_comment_newline.rs (renamed from crates/ra_syntax/test_data/parser/ok/0065_comment_newline.rs)0
-rw-r--r--crates/syntax/test_data/parser/ok/0065_plus_after_fn_trait_bound.rast (renamed from crates/ra_syntax/test_data/parser/ok/0065_plus_after_fn_trait_bound.rast)0
-rw-r--r--crates/syntax/test_data/parser/ok/0065_plus_after_fn_trait_bound.rs (renamed from crates/ra_syntax/test_data/parser/ok/0065_plus_after_fn_trait_bound.rs)0
-rw-r--r--crates/syntax/test_data/parser/ok/0066_default_modifier.rast218
-rw-r--r--crates/syntax/test_data/parser/ok/0066_default_modifier.rs16
-rw-r--r--crates/syntax/test_data/parser/ok/0067_where_for_pred.rast (renamed from crates/ra_syntax/test_data/parser/ok/0067_where_for_pred.rast)0
-rw-r--r--crates/syntax/test_data/parser/ok/0067_where_for_pred.rs (renamed from crates/ra_syntax/test_data/parser/ok/0067_where_for_pred.rs)0
-rw-r--r--crates/syntax/test_data/parser/ok/0068_item_modifiers.rast218
-rw-r--r--crates/syntax/test_data/parser/ok/0068_item_modifiers.rs16
-rw-r--r--crates/syntax/test_data/reparse/fuzz-failures/0000.rs (renamed from crates/ra_syntax/test_data/reparse/fuzz-failures/0000.rs)0
-rw-r--r--crates/syntax/test_data/reparse/fuzz-failures/0001.rs (renamed from crates/ra_syntax/test_data/reparse/fuzz-failures/0001.rs)0
-rw-r--r--crates/syntax/test_data/reparse/fuzz-failures/0002.rs (renamed from crates/ra_syntax/test_data/reparse/fuzz-failures/0002.rs)0
-rw-r--r--crates/syntax/test_data/reparse/fuzz-failures/0003.rs (renamed from crates/ra_syntax/test_data/reparse/fuzz-failures/0003.rs)bin8 -> 8 bytes
-rw-r--r--crates/syntax/test_data/reparse/fuzz-failures/0004.rs (renamed from crates/ra_syntax/test_data/reparse/fuzz-failures/0004.rs)0
-rw-r--r--crates/syntax/test_data/reparse/fuzz-failures/0005.rs (renamed from crates/ra_syntax/test_data/reparse/fuzz-failures/0005.rs)0
-rw-r--r--crates/test_utils/Cargo.toml7
-rw-r--r--crates/text_edit/Cargo.toml12
-rw-r--r--crates/text_edit/src/lib.rs186
-rw-r--r--crates/toolchain/Cargo.toml12
-rw-r--r--crates/toolchain/src/lib.rs66
-rw-r--r--crates/tt/Cargo.toml16
-rw-r--r--crates/tt/src/buffer.rs (renamed from crates/ra_tt/src/buffer.rs)0
-rw-r--r--crates/tt/src/lib.rs246
-rw-r--r--crates/vfs-notify/Cargo.toml4
-rw-r--r--crates/vfs/Cargo.toml4
-rw-r--r--crates/vfs/src/vfs_path.rs139
-rw-r--r--docs/dev/README.md25
-rw-r--r--docs/dev/architecture.md24
-rw-r--r--docs/dev/guide.md66
-rw-r--r--docs/dev/lsp-extensions.md8
-rw-r--r--docs/dev/style.md51
-rw-r--r--docs/dev/syntax.md4
-rw-r--r--editors/code/.eslintignore3
-rw-r--r--editors/code/package.json2
-rw-r--r--editors/code/src/client.ts10
-rw-r--r--editors/code/src/ctx.ts2
-rw-r--r--editors/code/src/lsp_ext.ts5
-rw-r--r--editors/code/src/toolchain.ts4
-rw-r--r--editors/code/src/util.ts6
-rw-r--r--xtask/Cargo.toml1
-rw-r--r--xtask/src/codegen.rs34
-rw-r--r--xtask/src/codegen/gen_assists_docs.rs6
-rw-r--r--xtask/src/codegen/gen_feature_docs.rs4
-rw-r--r--xtask/src/codegen/gen_syntax.rs10
-rw-r--r--xtask/src/lib.rs58
-rw-r--r--xtask/src/main.rs5
-rw-r--r--xtask/src/pre_cache.rs80
-rw-r--r--xtask/tests/tidy.rs37
1471 files changed, 99713 insertions, 98630 deletions
diff --git a/.gitattributes b/.gitattributes
index 4cd50e481..7c2f752d6 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -1,5 +1,5 @@
1* text=auto eol=lf 1* text=auto eol=lf
2crates/ra_syntax/test_data/** -text eof=LF 2crates/syntax/test_data/** -text eof=LF
3# Older git versions try to fix line endings on images, this prevents it. 3# Older git versions try to fix line endings on images, this prevents it.
4*.png binary 4*.png binary
5*.jpg binary 5*.jpg binary
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index 2acd44012..fb077e28d 100644
--- a/.github/workflows/ci.yaml
+++ b/.github/workflows/ci.yaml
@@ -16,20 +16,6 @@ env:
16 RUSTUP_MAX_RETRIES: 10 16 RUSTUP_MAX_RETRIES: 10
17 17
18jobs: 18jobs:
19 # rust-audit:
20 # name: Audit Rust vulnerabilities
21 # runs-on: ubuntu-latest
22 # steps:
23 # - name: Checkout repository
24 # uses: actions/checkout@v2
25
26 # - uses: actions-rs/[email protected]
27 # with:
28 # crate: cargo-audit
29 # use-tool-cache: true
30
31 # - run: cargo audit
32
33 rust: 19 rust:
34 name: Rust 20 name: Rust
35 runs-on: ${{ matrix.os }} 21 runs-on: ${{ matrix.os }}
@@ -84,15 +70,14 @@ jobs:
84 - name: Prepare cache 70 - name: Prepare cache
85 run: cargo xtask pre-cache 71 run: cargo xtask pre-cache
86 72
87 - name: Prepare cache 2 73 # Weird targets to catch non-portable code
88 if: matrix.os == 'windows-latest' 74 rust-cross:
89 run: Remove-Item ./target/debug/xtask.exe, ./target/debug/deps/xtask.exe 75 name: Rust Cross
90
91 # Weird target to catch non-portable code
92 rust-power:
93 name: Rust Power
94 runs-on: ubuntu-latest 76 runs-on: ubuntu-latest
95 77
78 env:
79 targets: "powerpc-unknown-linux-gnu x86_64-unknown-linux-musl"
80
96 steps: 81 steps:
97 - name: Checkout repository 82 - name: Checkout repository
98 uses: actions/checkout@v2 83 uses: actions/checkout@v2
@@ -103,7 +88,9 @@ jobs:
103 toolchain: stable 88 toolchain: stable
104 profile: minimal 89 profile: minimal
105 override: true 90 override: true
106 target: 'powerpc-unknown-linux-gnu' 91
92 - name: Install Rust targets
93 run: rustup target add ${{ env.targets }}
107 94
108 - name: Cache cargo directories 95 - name: Cache cargo directories
109 uses: actions/cache@v2 96 uses: actions/cache@v2
@@ -114,14 +101,17 @@ jobs:
114 key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} 101 key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
115 102
116 - name: Check 103 - name: Check
117 run: cargo check --target=powerpc-unknown-linux-gnu --all-targets 104 run: |
105 for target in ${{ env.targets }}; do
106 cargo check --target=$target --all-targets
107 done
118 108
119 typescript: 109 typescript:
120 name: TypeScript 110 name: TypeScript
121 strategy: 111 strategy:
122 fail-fast: false 112 fail-fast: false
123 matrix: 113 matrix:
124 os: [ubuntu-latest, windows-latest, macos-latest] 114 os: [ubuntu-latest, windows-latest]
125 115
126 runs-on: ${{ matrix.os }} 116 runs-on: ${{ matrix.os }}
127 117
diff --git a/Cargo.lock b/Cargo.lock
index dc49fc4bd..ffa385106 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -16,15 +16,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
16checksum = "ee2a4ec343196209d6594e19543ae87a39f96d5534d7174822a3ad825dd6ed7e" 16checksum = "ee2a4ec343196209d6594e19543ae87a39f96d5534d7174822a3ad825dd6ed7e"
17 17
18[[package]] 18[[package]]
19name = "aho-corasick"
20version = "0.7.13"
21source = "registry+https://github.com/rust-lang/crates.io-index"
22checksum = "043164d8ba5c4c3035fec9bbee8647c0261d788f3474306f93bb65901cae0e86"
23dependencies = [
24 "memchr",
25]
26
27[[package]]
28name = "ansi_term" 19name = "ansi_term"
29version = "0.12.1" 20version = "0.12.1"
30source = "registry+https://github.com/rust-lang/crates.io-index" 21source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -46,12 +37,33 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
46checksum = "33954243bd79057c2de7338850b85983a44588021f8a5fee574a8888c6de4344" 37checksum = "33954243bd79057c2de7338850b85983a44588021f8a5fee574a8888c6de4344"
47 38
48[[package]] 39[[package]]
40name = "arena"
41version = "0.0.0"
42
43[[package]]
49name = "arrayvec" 44name = "arrayvec"
50version = "0.5.1" 45version = "0.5.1"
51source = "registry+https://github.com/rust-lang/crates.io-index" 46source = "registry+https://github.com/rust-lang/crates.io-index"
52checksum = "cff77d8686867eceff3105329d4698d96c2391c176d5d03adc90c7389162b5b8" 47checksum = "cff77d8686867eceff3105329d4698d96c2391c176d5d03adc90c7389162b5b8"
53 48
54[[package]] 49[[package]]
50name = "assists"
51version = "0.0.0"
52dependencies = [
53 "base_db",
54 "either",
55 "hir",
56 "ide_db",
57 "itertools",
58 "profile",
59 "rustc-hash",
60 "stdx",
61 "syntax",
62 "test_utils",
63 "text_edit",
64]
65
66[[package]]
55name = "atty" 67name = "atty"
56version = "0.2.14" 68version = "0.2.14"
57source = "registry+https://github.com/rust-lang/crates.io-index" 69source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -89,6 +101,21 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
89checksum = "3441f0f7b02788e948e47f457ca01f1d7e6d92c693bc132c22b087d3141c03ff" 101checksum = "3441f0f7b02788e948e47f457ca01f1d7e6d92c693bc132c22b087d3141c03ff"
90 102
91[[package]] 103[[package]]
104name = "base_db"
105version = "0.0.0"
106dependencies = [
107 "cfg",
108 "profile",
109 "rustc-hash",
110 "salsa",
111 "stdx",
112 "syntax",
113 "test_utils",
114 "tt",
115 "vfs",
116]
117
118[[package]]
92name = "bitflags" 119name = "bitflags"
93version = "1.2.1" 120version = "1.2.1"
94source = "registry+https://github.com/rust-lang/crates.io-index" 121source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -118,6 +145,16 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
118checksum = "f9a06fb2e53271d7c279ec1efea6ab691c35a2ae67ec0d91d7acec0caf13b518" 145checksum = "f9a06fb2e53271d7c279ec1efea6ab691c35a2ae67ec0d91d7acec0caf13b518"
119 146
120[[package]] 147[[package]]
148name = "cfg"
149version = "0.0.0"
150dependencies = [
151 "mbe",
152 "rustc-hash",
153 "syntax",
154 "tt",
155]
156
157[[package]]
121name = "cfg-if" 158name = "cfg-if"
122version = "0.1.10" 159version = "0.1.10"
123source = "registry+https://github.com/rust-lang/crates.io-index" 160source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -125,9 +162,9 @@ checksum = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822"
125 162
126[[package]] 163[[package]]
127name = "chalk-derive" 164name = "chalk-derive"
128version = "0.21.0" 165version = "0.23.0"
129source = "registry+https://github.com/rust-lang/crates.io-index" 166source = "registry+https://github.com/rust-lang/crates.io-index"
130checksum = "c1df0dbb57d74b4acd20f20fa66ab2acd09776b79eaeb9d8f947b2f3e01c40bf" 167checksum = "c3cb438e961fd7f1183dc5e0bdcfd09253bf9b90592cf665d1ce6787d8a4908f"
131dependencies = [ 168dependencies = [
132 "proc-macro2", 169 "proc-macro2",
133 "quote", 170 "quote",
@@ -137,9 +174,9 @@ dependencies = [
137 174
138[[package]] 175[[package]]
139name = "chalk-ir" 176name = "chalk-ir"
140version = "0.21.0" 177version = "0.23.0"
141source = "registry+https://github.com/rust-lang/crates.io-index" 178source = "registry+https://github.com/rust-lang/crates.io-index"
142checksum = "44361a25dbdb1dc428f56ad7a3c21ba9ca12f3225c26a47919ff6fcb10a583d4" 179checksum = "bb332abfcb015b148c6fbab39b1d13282745b0f7f312019dd8e138f5f3f0855d"
143dependencies = [ 180dependencies = [
144 "chalk-derive", 181 "chalk-derive",
145 "lazy_static", 182 "lazy_static",
@@ -147,9 +184,9 @@ dependencies = [
147 184
148[[package]] 185[[package]]
149name = "chalk-recursive" 186name = "chalk-recursive"
150version = "0.21.0" 187version = "0.23.0"
151source = "registry+https://github.com/rust-lang/crates.io-index" 188source = "registry+https://github.com/rust-lang/crates.io-index"
152checksum = "dd89556b98de156d5eaf21077d297cd2198628f10f2df140798ea3a5dd84bc86" 189checksum = "e7c7673f10c5fa1acf7fa07d4f4c5917cbcf161ed3a952d14530c79950de32d2"
153dependencies = [ 190dependencies = [
154 "chalk-derive", 191 "chalk-derive",
155 "chalk-ir", 192 "chalk-ir",
@@ -160,9 +197,9 @@ dependencies = [
160 197
161[[package]] 198[[package]]
162name = "chalk-solve" 199name = "chalk-solve"
163version = "0.21.0" 200version = "0.23.0"
164source = "registry+https://github.com/rust-lang/crates.io-index" 201source = "registry+https://github.com/rust-lang/crates.io-index"
165checksum = "a886da37a0dc457057d86f78f026f7a09c6d8088aa13f4f4127fdb8dc80119a3" 202checksum = "802de4eff72e5a5d2828e6c07224c74d66949dc6308aff025d0ae2871a11b4eb"
166dependencies = [ 203dependencies = [
167 "chalk-derive", 204 "chalk-derive",
168 "chalk-ir", 205 "chalk-ir",
@@ -177,9 +214,9 @@ dependencies = [
177 214
178[[package]] 215[[package]]
179name = "chrono" 216name = "chrono"
180version = "0.4.13" 217version = "0.4.15"
181source = "registry+https://github.com/rust-lang/crates.io-index" 218source = "registry+https://github.com/rust-lang/crates.io-index"
182checksum = "c74d84029116787153e02106bf53e66828452a4b325cc8652b788b5967c0a0b6" 219checksum = "942f72db697d8767c22d46a598e01f2d3b475501ea43d0db4f16d90259182d0b"
183dependencies = [ 220dependencies = [
184 "num-integer", 221 "num-integer",
185 "num-traits", 222 "num-traits",
@@ -285,9 +322,9 @@ checksum = "9bda8e21c04aca2ae33ffc2fd8c23134f3cac46db123ba97bd9d3f3b8a4a85e1"
285 322
286[[package]] 323[[package]]
287name = "either" 324name = "either"
288version = "1.5.3" 325version = "1.6.0"
289source = "registry+https://github.com/rust-lang/crates.io-index" 326source = "registry+https://github.com/rust-lang/crates.io-index"
290checksum = "bb1f6b1ce1c140482ea30ddd3335fc0024ac7ee112895426e0a629a6c20adfe3" 327checksum = "cd56b59865bce947ac5958779cfa508f6c3b9497cc762b7e24a12d11ccde2c4f"
291 328
292[[package]] 329[[package]]
293name = "ena" 330name = "ena"
@@ -309,7 +346,7 @@ dependencies = [
309 346
310[[package]] 347[[package]]
311name = "expect" 348name = "expect"
312version = "0.1.0" 349version = "0.0.0"
313dependencies = [ 350dependencies = [
314 "difference", 351 "difference",
315 "once_cell", 352 "once_cell",
@@ -348,14 +385,14 @@ dependencies = [
348 385
349[[package]] 386[[package]]
350name = "flycheck" 387name = "flycheck"
351version = "0.1.0" 388version = "0.0.0"
352dependencies = [ 389dependencies = [
353 "cargo_metadata", 390 "cargo_metadata",
354 "crossbeam-channel", 391 "crossbeam-channel",
355 "jod-thread", 392 "jod-thread",
356 "log", 393 "log",
357 "ra_toolchain",
358 "serde_json", 394 "serde_json",
395 "toolchain",
359] 396]
360 397
361[[package]] 398[[package]]
@@ -418,9 +455,9 @@ dependencies = [
418 455
419[[package]] 456[[package]]
420name = "hashbrown" 457name = "hashbrown"
421version = "0.8.1" 458version = "0.8.2"
422source = "registry+https://github.com/rust-lang/crates.io-index" 459source = "registry+https://github.com/rust-lang/crates.io-index"
423checksum = "34f595585f103464d8d2f6e9864682d74c1601fed5e07d62b1c9058dba8246fb" 460checksum = "e91b62f79061a0bc2e046024cb7ba44b08419ed238ecbd9adbd787434b9e8c25"
424dependencies = [ 461dependencies = [
425 "autocfg", 462 "autocfg",
426] 463]
@@ -444,6 +481,96 @@ dependencies = [
444] 481]
445 482
446[[package]] 483[[package]]
484name = "hir"
485version = "0.0.0"
486dependencies = [
487 "arrayvec",
488 "base_db",
489 "either",
490 "hir_def",
491 "hir_expand",
492 "hir_ty",
493 "itertools",
494 "log",
495 "profile",
496 "rustc-hash",
497 "stdx",
498 "syntax",
499]
500
501[[package]]
502name = "hir_def"
503version = "0.0.0"
504dependencies = [
505 "anymap",
506 "arena",
507 "base_db",
508 "cfg",
509 "drop_bomb",
510 "either",
511 "expect",
512 "fst",
513 "hir_expand",
514 "indexmap",
515 "itertools",
516 "log",
517 "mbe",
518 "once_cell",
519 "profile",
520 "rustc-hash",
521 "smallvec",
522 "stdx",
523 "syntax",
524 "test_utils",
525 "tt",
526]
527
528[[package]]
529name = "hir_expand"
530version = "0.0.0"
531dependencies = [
532 "arena",
533 "base_db",
534 "either",
535 "log",
536 "mbe",
537 "parser",
538 "profile",
539 "rustc-hash",
540 "syntax",
541 "test_utils",
542 "tt",
543]
544
545[[package]]
546name = "hir_ty"
547version = "0.0.0"
548dependencies = [
549 "arena",
550 "arrayvec",
551 "base_db",
552 "chalk-ir",
553 "chalk-recursive",
554 "chalk-solve",
555 "ena",
556 "expect",
557 "hir_def",
558 "hir_expand",
559 "itertools",
560 "log",
561 "profile",
562 "rustc-hash",
563 "scoped-tls",
564 "smallvec",
565 "stdx",
566 "syntax",
567 "test_utils",
568 "tracing",
569 "tracing-subscriber",
570 "tracing-tree",
571]
572
573[[package]]
447name = "home" 574name = "home"
448version = "0.5.3" 575version = "0.5.3"
449source = "registry+https://github.com/rust-lang/crates.io-index" 576source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -453,6 +580,49 @@ dependencies = [
453] 580]
454 581
455[[package]] 582[[package]]
583name = "ide"
584version = "0.0.0"
585dependencies = [
586 "assists",
587 "base_db",
588 "cfg",
589 "either",
590 "expect",
591 "hir",
592 "ide_db",
593 "indexmap",
594 "itertools",
595 "log",
596 "oorandom",
597 "profile",
598 "rustc-hash",
599 "ssr",
600 "stdx",
601 "syntax",
602 "test_utils",
603 "text_edit",
604]
605
606[[package]]
607name = "ide_db"
608version = "0.0.0"
609dependencies = [
610 "base_db",
611 "either",
612 "fst",
613 "hir",
614 "log",
615 "once_cell",
616 "profile",
617 "rayon",
618 "rustc-hash",
619 "stdx",
620 "syntax",
621 "test_utils",
622 "text_edit",
623]
624
625[[package]]
456name = "idna" 626name = "idna"
457version = "0.2.0" 627version = "0.2.0"
458source = "registry+https://github.com/rust-lang/crates.io-index" 628source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -465,9 +635,9 @@ dependencies = [
465 635
466[[package]] 636[[package]]
467name = "indexmap" 637name = "indexmap"
468version = "1.5.0" 638version = "1.5.1"
469source = "registry+https://github.com/rust-lang/crates.io-index" 639source = "registry+https://github.com/rust-lang/crates.io-index"
470checksum = "5b88cd59ee5f71fea89a62248fc8f387d44400cefe05ef548466d61ced9029a7" 640checksum = "86b45e59b16c76b11bf9738fd5d38879d3bd28ad292d7b313608becb17ae2df9"
471dependencies = [ 641dependencies = [
472 "autocfg", 642 "autocfg",
473 "hashbrown", 643 "hashbrown",
@@ -547,9 +717,9 @@ checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646"
547 717
548[[package]] 718[[package]]
549name = "lazycell" 719name = "lazycell"
550version = "1.2.1" 720version = "1.3.0"
551source = "registry+https://github.com/rust-lang/crates.io-index" 721source = "registry+https://github.com/rust-lang/crates.io-index"
552checksum = "b294d6fa9ee409a054354afc4352b0b9ef7ca222c69b8812cbea9e7d2bf3783f" 722checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55"
553 723
554[[package]] 724[[package]]
555name = "libc" 725name = "libc"
@@ -595,9 +765,9 @@ dependencies = [
595 765
596[[package]] 766[[package]]
597name = "lsp-server" 767name = "lsp-server"
598version = "0.3.3" 768version = "0.3.4"
599source = "registry+https://github.com/rust-lang/crates.io-index" 769source = "registry+https://github.com/rust-lang/crates.io-index"
600checksum = "53b4ace8ebe5d2aff3687ce0ed507f6020d6a47a7de2b0d3d664ea237ffb0c62" 770checksum = "87fce8851309a325974ec76efe7c9d954d152c9ff4fded6520eb3c96d0aa3a96"
601dependencies = [ 771dependencies = [
602 "crossbeam-channel", 772 "crossbeam-channel",
603 "log", 773 "log",
@@ -641,10 +811,17 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
641checksum = "60302e4db3a61da70c0cb7991976248362f30319e88850c487b9b95bbf059e00" 811checksum = "60302e4db3a61da70c0cb7991976248362f30319e88850c487b9b95bbf059e00"
642 812
643[[package]] 813[[package]]
644name = "memchr" 814name = "mbe"
645version = "2.3.3" 815version = "0.0.0"
646source = "registry+https://github.com/rust-lang/crates.io-index" 816dependencies = [
647checksum = "3728d817d99e5ac407411fa471ff9800a778d88a24685968b36824eaf4bee400" 817 "log",
818 "parser",
819 "rustc-hash",
820 "smallvec",
821 "syntax",
822 "test_utils",
823 "tt",
824]
648 825
649[[package]] 826[[package]]
650name = "memmap" 827name = "memmap"
@@ -794,9 +971,9 @@ checksum = "1ab52be62400ca80aa00285d25253d7f7c437b7375c4de678f5405d3afe82ca5"
794 971
795[[package]] 972[[package]]
796name = "once_cell" 973name = "once_cell"
797version = "1.4.0" 974version = "1.4.1"
798source = "registry+https://github.com/rust-lang/crates.io-index" 975source = "registry+https://github.com/rust-lang/crates.io-index"
799checksum = "0b631f7e854af39a1739f401cf34a8a013dfe09eac4fa4dba91e9768bd28168d" 976checksum = "260e51e7efe62b592207e9e13a68e43692a7a279171d6ba57abd208bf23645ad"
800 977
801[[package]] 978[[package]]
802name = "oorandom" 979name = "oorandom"
@@ -831,8 +1008,15 @@ dependencies = [
831] 1008]
832 1009
833[[package]] 1010[[package]]
1011name = "parser"
1012version = "0.0.0"
1013dependencies = [
1014 "drop_bomb",
1015]
1016
1017[[package]]
834name = "paths" 1018name = "paths"
835version = "0.1.0" 1019version = "0.0.0"
836 1020
837[[package]] 1021[[package]]
838name = "percent-encoding" 1022name = "percent-encoding"
@@ -852,9 +1036,9 @@ dependencies = [
852 1036
853[[package]] 1037[[package]]
854name = "perf-event-open-sys" 1038name = "perf-event-open-sys"
855version = "0.3.1" 1039version = "0.3.3"
856source = "registry+https://github.com/rust-lang/crates.io-index" 1040source = "registry+https://github.com/rust-lang/crates.io-index"
857checksum = "95db63e37862bc1b842135d2234ef9418f222cc660c6752f45e7cf9ddfb97f96" 1041checksum = "d9ebe2b9ef0cb884ef778c5a533144e348e9839a9fcf67f3d24e1890ac9088d6"
858dependencies = [ 1042dependencies = [
859 "libc", 1043 "libc",
860] 1044]
@@ -871,9 +1055,9 @@ dependencies = [
871 1055
872[[package]] 1056[[package]]
873name = "pico-args" 1057name = "pico-args"
874version = "0.3.3" 1058version = "0.3.4"
875source = "registry+https://github.com/rust-lang/crates.io-index" 1059source = "registry+https://github.com/rust-lang/crates.io-index"
876checksum = "1b1eee8b1f4966c8343d7ca0f5a8452cd35d5610a2e0efbe2a68cae44bef2046" 1060checksum = "28b9b4df73455c861d7cbf8be42f01d3b373ed7f02e378d55fa84eafc6f638b1"
877 1061
878[[package]] 1062[[package]]
879name = "plain" 1063name = "plain"
@@ -891,338 +1075,77 @@ dependencies = [
891] 1075]
892 1076
893[[package]] 1077[[package]]
894name = "quote" 1078name = "proc_macro_api"
895version = "1.0.7" 1079version = "0.0.0"
896source = "registry+https://github.com/rust-lang/crates.io-index"
897checksum = "aa563d17ecb180e500da1cfd2b028310ac758de548efdd203e18f283af693f37"
898dependencies = [
899 "proc-macro2",
900]
901
902[[package]]
903name = "ra_arena"
904version = "0.1.0"
905
906[[package]]
907name = "ra_assists"
908version = "0.1.0"
909dependencies = [
910 "either",
911 "itertools",
912 "ra_db",
913 "ra_fmt",
914 "ra_hir",
915 "ra_ide_db",
916 "ra_prof",
917 "ra_syntax",
918 "ra_text_edit",
919 "rustc-hash",
920 "stdx",
921 "test_utils",
922]
923
924[[package]]
925name = "ra_cfg"
926version = "0.1.0"
927dependencies = [
928 "ra_mbe",
929 "ra_syntax",
930 "ra_tt",
931 "rustc-hash",
932]
933
934[[package]]
935name = "ra_db"
936version = "0.1.0"
937dependencies = [
938 "ra_cfg",
939 "ra_prof",
940 "ra_syntax",
941 "ra_tt",
942 "rustc-hash",
943 "salsa",
944 "stdx",
945 "test_utils",
946 "vfs",
947]
948
949[[package]]
950name = "ra_fmt"
951version = "0.1.0"
952dependencies = [
953 "itertools",
954 "ra_syntax",
955]
956
957[[package]]
958name = "ra_hir"
959version = "0.1.0"
960dependencies = [
961 "arrayvec",
962 "either",
963 "itertools",
964 "log",
965 "ra_db",
966 "ra_hir_def",
967 "ra_hir_expand",
968 "ra_hir_ty",
969 "ra_prof",
970 "ra_syntax",
971 "rustc-hash",
972 "stdx",
973]
974
975[[package]]
976name = "ra_hir_def"
977version = "0.1.0"
978dependencies = [
979 "anymap",
980 "drop_bomb",
981 "either",
982 "expect",
983 "fst",
984 "indexmap",
985 "itertools",
986 "log",
987 "once_cell",
988 "ra_arena",
989 "ra_cfg",
990 "ra_db",
991 "ra_hir_expand",
992 "ra_mbe",
993 "ra_prof",
994 "ra_syntax",
995 "ra_tt",
996 "rustc-hash",
997 "smallvec",
998 "stdx",
999 "test_utils",
1000]
1001
1002[[package]]
1003name = "ra_hir_expand"
1004version = "0.1.0"
1005dependencies = [
1006 "either",
1007 "log",
1008 "ra_arena",
1009 "ra_db",
1010 "ra_mbe",
1011 "ra_parser",
1012 "ra_prof",
1013 "ra_syntax",
1014 "ra_tt",
1015 "rustc-hash",
1016 "test_utils",
1017]
1018
1019[[package]]
1020name = "ra_hir_ty"
1021version = "0.1.0"
1022dependencies = [
1023 "arrayvec",
1024 "chalk-ir",
1025 "chalk-recursive",
1026 "chalk-solve",
1027 "ena",
1028 "expect",
1029 "itertools",
1030 "log",
1031 "ra_arena",
1032 "ra_db",
1033 "ra_hir_def",
1034 "ra_hir_expand",
1035 "ra_prof",
1036 "ra_syntax",
1037 "rustc-hash",
1038 "scoped-tls",
1039 "smallvec",
1040 "stdx",
1041 "test_utils",
1042 "tracing",
1043 "tracing-subscriber",
1044 "tracing-tree",
1045]
1046
1047[[package]]
1048name = "ra_ide"
1049version = "0.1.0"
1050dependencies = [
1051 "either",
1052 "expect",
1053 "indexmap",
1054 "itertools",
1055 "log",
1056 "oorandom",
1057 "ra_assists",
1058 "ra_cfg",
1059 "ra_db",
1060 "ra_fmt",
1061 "ra_hir",
1062 "ra_ide_db",
1063 "ra_prof",
1064 "ra_ssr",
1065 "ra_syntax",
1066 "ra_text_edit",
1067 "rustc-hash",
1068 "stdx",
1069 "test_utils",
1070]
1071
1072[[package]]
1073name = "ra_ide_db"
1074version = "0.1.0"
1075dependencies = [
1076 "either",
1077 "fst",
1078 "log",
1079 "once_cell",
1080 "ra_db",
1081 "ra_hir",
1082 "ra_prof",
1083 "ra_syntax",
1084 "ra_text_edit",
1085 "rayon",
1086 "rustc-hash",
1087 "stdx",
1088 "test_utils",
1089]
1090
1091[[package]]
1092name = "ra_mbe"
1093version = "0.1.0"
1094dependencies = [
1095 "log",
1096 "ra_parser",
1097 "ra_syntax",
1098 "ra_tt",
1099 "rustc-hash",
1100 "smallvec",
1101 "test_utils",
1102]
1103
1104[[package]]
1105name = "ra_parser"
1106version = "0.1.0"
1107dependencies = [
1108 "drop_bomb",
1109]
1110
1111[[package]]
1112name = "ra_proc_macro"
1113version = "0.1.0"
1114dependencies = [ 1080dependencies = [
1115 "crossbeam-channel", 1081 "crossbeam-channel",
1116 "jod-thread", 1082 "jod-thread",
1117 "log", 1083 "log",
1118 "ra_tt",
1119 "serde", 1084 "serde",
1120 "serde_json", 1085 "serde_json",
1086 "tt",
1121] 1087]
1122 1088
1123[[package]] 1089[[package]]
1124name = "ra_proc_macro_srv" 1090name = "proc_macro_srv"
1125version = "0.1.0" 1091version = "0.0.0"
1126dependencies = [ 1092dependencies = [
1127 "cargo_metadata", 1093 "cargo_metadata",
1128 "difference", 1094 "difference",
1129 "goblin", 1095 "goblin",
1130 "libloading", 1096 "libloading",
1097 "mbe",
1131 "memmap", 1098 "memmap",
1132 "ra_mbe", 1099 "proc_macro_api",
1133 "ra_proc_macro", 1100 "proc_macro_test",
1134 "ra_toolchain",
1135 "ra_tt",
1136 "serde_derive", 1101 "serde_derive",
1137 "test_utils", 1102 "test_utils",
1103 "toolchain",
1104 "tt",
1138] 1105]
1139 1106
1140[[package]] 1107[[package]]
1141name = "ra_prof" 1108name = "proc_macro_test"
1142version = "0.1.0" 1109version = "0.0.0"
1110
1111[[package]]
1112name = "profile"
1113version = "0.0.0"
1143dependencies = [ 1114dependencies = [
1115 "arena",
1144 "backtrace", 1116 "backtrace",
1145 "cfg-if", 1117 "cfg-if",
1146 "libc", 1118 "libc",
1147 "once_cell", 1119 "once_cell",
1148 "perf-event", 1120 "perf-event",
1149 "ra_arena",
1150] 1121]
1151 1122
1152[[package]] 1123[[package]]
1153name = "ra_project_model" 1124name = "project_model"
1154version = "0.1.0" 1125version = "0.0.0"
1155dependencies = [ 1126dependencies = [
1156 "anyhow", 1127 "anyhow",
1128 "arena",
1129 "base_db",
1157 "cargo_metadata", 1130 "cargo_metadata",
1131 "cfg",
1158 "log", 1132 "log",
1159 "paths", 1133 "paths",
1160 "ra_arena", 1134 "proc_macro_api",
1161 "ra_cfg",
1162 "ra_db",
1163 "ra_proc_macro",
1164 "ra_toolchain",
1165 "rustc-hash", 1135 "rustc-hash",
1166 "serde", 1136 "serde",
1167 "serde_json", 1137 "serde_json",
1168 "stdx", 1138 "stdx",
1139 "toolchain",
1169] 1140]
1170 1141
1171[[package]] 1142[[package]]
1172name = "ra_ssr" 1143name = "quote"
1173version = "0.1.0" 1144version = "1.0.7"
1174dependencies = [ 1145source = "registry+https://github.com/rust-lang/crates.io-index"
1175 "expect", 1146checksum = "aa563d17ecb180e500da1cfd2b028310ac758de548efdd203e18f283af693f37"
1176 "ra_db",
1177 "ra_hir",
1178 "ra_ide_db",
1179 "ra_syntax",
1180 "ra_text_edit",
1181 "rustc-hash",
1182 "test_utils",
1183]
1184
1185[[package]]
1186name = "ra_syntax"
1187version = "0.1.0"
1188dependencies = [
1189 "arrayvec",
1190 "expect",
1191 "itertools",
1192 "once_cell",
1193 "ra_parser",
1194 "ra_text_edit",
1195 "rayon",
1196 "rowan",
1197 "rustc-ap-rustc_lexer",
1198 "rustc-hash",
1199 "serde",
1200 "smol_str",
1201 "stdx",
1202 "test_utils",
1203 "walkdir",
1204]
1205
1206[[package]]
1207name = "ra_text_edit"
1208version = "0.1.0"
1209dependencies = [
1210 "text-size",
1211]
1212
1213[[package]]
1214name = "ra_toolchain"
1215version = "0.1.0"
1216dependencies = [
1217 "home",
1218]
1219
1220[[package]]
1221name = "ra_tt"
1222version = "0.1.0"
1223dependencies = [ 1147dependencies = [
1224 "smol_str", 1148 "proc-macro2",
1225 "stdx",
1226] 1149]
1227 1150
1228[[package]] 1151[[package]]
@@ -1262,10 +1185,7 @@ version = "1.3.9"
1262source = "registry+https://github.com/rust-lang/crates.io-index" 1185source = "registry+https://github.com/rust-lang/crates.io-index"
1263checksum = "9c3780fcf44b193bc4d09f36d2a3c87b251da4a046c87795a0d35f4f927ad8e6" 1186checksum = "9c3780fcf44b193bc4d09f36d2a3c87b251da4a046c87795a0d35f4f927ad8e6"
1264dependencies = [ 1187dependencies = [
1265 "aho-corasick",
1266 "memchr",
1267 "regex-syntax", 1188 "regex-syntax",
1268 "thread_local",
1269] 1189]
1270 1190
1271[[package]] 1191[[package]]
@@ -1298,45 +1218,45 @@ dependencies = [
1298 1218
1299[[package]] 1219[[package]]
1300name = "rust-analyzer" 1220name = "rust-analyzer"
1301version = "0.1.0" 1221version = "0.0.0"
1302dependencies = [ 1222dependencies = [
1303 "anyhow", 1223 "anyhow",
1224 "base_db",
1225 "cfg",
1304 "crossbeam-channel", 1226 "crossbeam-channel",
1305 "env_logger", 1227 "env_logger",
1306 "expect", 1228 "expect",
1307 "flycheck", 1229 "flycheck",
1230 "hir",
1231 "hir_def",
1232 "hir_ty",
1233 "ide",
1234 "ide_db",
1308 "itertools", 1235 "itertools",
1309 "jod-thread", 1236 "jod-thread",
1310 "log", 1237 "log",
1311 "lsp-server", 1238 "lsp-server",
1312 "lsp-types", 1239 "lsp-types",
1240 "mbe",
1313 "mimalloc", 1241 "mimalloc",
1314 "oorandom", 1242 "oorandom",
1315 "parking_lot", 1243 "parking_lot",
1316 "pico-args", 1244 "pico-args",
1317 "ra_cfg", 1245 "proc_macro_srv",
1318 "ra_db", 1246 "profile",
1319 "ra_hir", 1247 "project_model",
1320 "ra_hir_def",
1321 "ra_hir_ty",
1322 "ra_ide",
1323 "ra_ide_db",
1324 "ra_mbe",
1325 "ra_proc_macro_srv",
1326 "ra_prof",
1327 "ra_project_model",
1328 "ra_ssr",
1329 "ra_syntax",
1330 "ra_text_edit",
1331 "ra_toolchain",
1332 "ra_tt",
1333 "rayon", 1248 "rayon",
1334 "rustc-hash", 1249 "rustc-hash",
1335 "serde", 1250 "serde",
1336 "serde_json", 1251 "serde_json",
1252 "ssr",
1337 "stdx", 1253 "stdx",
1254 "syntax",
1338 "test_utils", 1255 "test_utils",
1256 "text_edit",
1339 "threadpool", 1257 "threadpool",
1258 "toolchain",
1259 "tt",
1340 "vfs", 1260 "vfs",
1341 "vfs-notify", 1261 "vfs-notify",
1342 "winapi 0.3.9", 1262 "winapi 0.3.9",
@@ -1344,9 +1264,9 @@ dependencies = [
1344 1264
1345[[package]] 1265[[package]]
1346name = "rustc-ap-rustc_lexer" 1266name = "rustc-ap-rustc_lexer"
1347version = "671.0.0" 1267version = "673.0.0"
1348source = "registry+https://github.com/rust-lang/crates.io-index" 1268source = "registry+https://github.com/rust-lang/crates.io-index"
1349checksum = "22e1221f3bfa2943c942cf8da319ab2346887f8757778c29c7f1822cd27b521f" 1269checksum = "f6b71fa1285bdefe5fb61e59b63d6cc246abf337f4acafdd620d721bc488e671"
1350dependencies = [ 1270dependencies = [
1351 "unicode-xid", 1271 "unicode-xid",
1352] 1272]
@@ -1457,18 +1377,18 @@ checksum = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3"
1457 1377
1458[[package]] 1378[[package]]
1459name = "serde" 1379name = "serde"
1460version = "1.0.114" 1380version = "1.0.115"
1461source = "registry+https://github.com/rust-lang/crates.io-index" 1381source = "registry+https://github.com/rust-lang/crates.io-index"
1462checksum = "5317f7588f0a5078ee60ef675ef96735a1442132dc645eb1d12c018620ed8cd3" 1382checksum = "e54c9a88f2da7238af84b5101443f0c0d0a3bbdc455e34a5c9497b1903ed55d5"
1463dependencies = [ 1383dependencies = [
1464 "serde_derive", 1384 "serde_derive",
1465] 1385]
1466 1386
1467[[package]] 1387[[package]]
1468name = "serde_derive" 1388name = "serde_derive"
1469version = "1.0.114" 1389version = "1.0.115"
1470source = "registry+https://github.com/rust-lang/crates.io-index" 1390source = "registry+https://github.com/rust-lang/crates.io-index"
1471checksum = "2a0be94b04690fbaed37cddffc5c134bf537c8e3329d53e982fe04c374978f8e" 1391checksum = "609feed1d0a73cc36a0182a840a9b37b4a82f0b1150369f0536a9e3f2a31dc48"
1472dependencies = [ 1392dependencies = [
1473 "proc-macro2", 1393 "proc-macro2",
1474 "quote", 1394 "quote",
@@ -1514,9 +1434,9 @@ checksum = "c111b5bd5695e56cffe5129854aa230b39c93a305372fdbb2668ca2394eea9f8"
1514 1434
1515[[package]] 1435[[package]]
1516name = "smallvec" 1436name = "smallvec"
1517version = "1.4.1" 1437version = "1.4.2"
1518source = "registry+https://github.com/rust-lang/crates.io-index" 1438source = "registry+https://github.com/rust-lang/crates.io-index"
1519checksum = "3757cb9d89161a2f24e1cf78efa0c1fcff485d18e3f55e0aa3480824ddaa0f3f" 1439checksum = "fbee7696b84bbf3d89a1c2eccff0850e3047ed46bfcd2e92c29a2d074d57e252"
1520 1440
1521[[package]] 1441[[package]]
1522name = "smol_str" 1442name = "smol_str"
@@ -1528,8 +1448,23 @@ dependencies = [
1528] 1448]
1529 1449
1530[[package]] 1450[[package]]
1451name = "ssr"
1452version = "0.0.0"
1453dependencies = [
1454 "base_db",
1455 "expect",
1456 "hir",
1457 "ide_db",
1458 "itertools",
1459 "rustc-hash",
1460 "syntax",
1461 "test_utils",
1462 "text_edit",
1463]
1464
1465[[package]]
1531name = "stdx" 1466name = "stdx"
1532version = "0.1.0" 1467version = "0.0.0"
1533 1468
1534[[package]] 1469[[package]]
1535name = "syn" 1470name = "syn"
@@ -1555,6 +1490,27 @@ dependencies = [
1555] 1490]
1556 1491
1557[[package]] 1492[[package]]
1493name = "syntax"
1494version = "0.0.0"
1495dependencies = [
1496 "arrayvec",
1497 "expect",
1498 "itertools",
1499 "once_cell",
1500 "parser",
1501 "rayon",
1502 "rowan",
1503 "rustc-ap-rustc_lexer",
1504 "rustc-hash",
1505 "serde",
1506 "smol_str",
1507 "stdx",
1508 "test_utils",
1509 "text_edit",
1510 "walkdir",
1511]
1512
1513[[package]]
1558name = "termcolor" 1514name = "termcolor"
1559version = "1.1.0" 1515version = "1.1.0"
1560source = "registry+https://github.com/rust-lang/crates.io-index" 1516source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -1565,7 +1521,7 @@ dependencies = [
1565 1521
1566[[package]] 1522[[package]]
1567name = "test_utils" 1523name = "test_utils"
1568version = "0.1.0" 1524version = "0.0.0"
1569dependencies = [ 1525dependencies = [
1570 "difference", 1526 "difference",
1571 "rustc-hash", 1527 "rustc-hash",
@@ -1581,6 +1537,13 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
1581checksum = "f03e7efdedc3bc78cb2337f1e2785c39e45f5ef762d9e4ebb137fff7380a6d8a" 1537checksum = "f03e7efdedc3bc78cb2337f1e2785c39e45f5ef762d9e4ebb137fff7380a6d8a"
1582 1538
1583[[package]] 1539[[package]]
1540name = "text_edit"
1541version = "0.0.0"
1542dependencies = [
1543 "text-size",
1544]
1545
1546[[package]]
1584name = "thin-dst" 1547name = "thin-dst"
1585version = "1.1.0" 1548version = "1.1.0"
1586source = "registry+https://github.com/rust-lang/crates.io-index" 1549source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -1616,15 +1579,22 @@ dependencies = [
1616 1579
1617[[package]] 1580[[package]]
1618name = "tinyvec" 1581name = "tinyvec"
1619version = "0.3.3" 1582version = "0.3.4"
1620source = "registry+https://github.com/rust-lang/crates.io-index" 1583source = "registry+https://github.com/rust-lang/crates.io-index"
1621checksum = "53953d2d3a5ad81d9f844a32f14ebb121f50b650cd59d0ee2a07cf13c617efed" 1584checksum = "238ce071d267c5710f9d31451efec16c5ee22de34df17cc05e56cbc92e967117"
1585
1586[[package]]
1587name = "toolchain"
1588version = "0.0.0"
1589dependencies = [
1590 "home",
1591]
1622 1592
1623[[package]] 1593[[package]]
1624name = "tracing" 1594name = "tracing"
1625version = "0.1.18" 1595version = "0.1.19"
1626source = "registry+https://github.com/rust-lang/crates.io-index" 1596source = "registry+https://github.com/rust-lang/crates.io-index"
1627checksum = "f0aae59226cf195d8e74d4b34beae1859257efb4e5fed3f147d2dc2c7d372178" 1597checksum = "6d79ca061b032d6ce30c660fded31189ca0b9922bf483cd70759f13a2d86786c"
1628dependencies = [ 1598dependencies = [
1629 "cfg-if", 1599 "cfg-if",
1630 "tracing-attributes", 1600 "tracing-attributes",
@@ -1633,9 +1603,9 @@ dependencies = [
1633 1603
1634[[package]] 1604[[package]]
1635name = "tracing-attributes" 1605name = "tracing-attributes"
1636version = "0.1.9" 1606version = "0.1.10"
1637source = "registry+https://github.com/rust-lang/crates.io-index" 1607source = "registry+https://github.com/rust-lang/crates.io-index"
1638checksum = "f0693bf8d6f2bf22c690fc61a9d21ac69efdbb894a17ed596b9af0f01e64b84b" 1608checksum = "1fe233f4227389ab7df5b32649239da7ebe0b281824b4e84b342d04d3fd8c25e"
1639dependencies = [ 1609dependencies = [
1640 "proc-macro2", 1610 "proc-macro2",
1641 "quote", 1611 "quote",
@@ -1644,9 +1614,9 @@ dependencies = [
1644 1614
1645[[package]] 1615[[package]]
1646name = "tracing-core" 1616name = "tracing-core"
1647version = "0.1.13" 1617version = "0.1.14"
1648source = "registry+https://github.com/rust-lang/crates.io-index" 1618source = "registry+https://github.com/rust-lang/crates.io-index"
1649checksum = "d593f98af59ebc017c0648f0117525db358745a8894a8d684e185ba3f45954f9" 1619checksum = "db63662723c316b43ca36d833707cc93dff82a02ba3d7e354f342682cc8b3545"
1650dependencies = [ 1620dependencies = [
1651 "lazy_static", 1621 "lazy_static",
1652] 1622]
@@ -1674,9 +1644,9 @@ dependencies = [
1674 1644
1675[[package]] 1645[[package]]
1676name = "tracing-subscriber" 1646name = "tracing-subscriber"
1677version = "0.2.10" 1647version = "0.2.11"
1678source = "registry+https://github.com/rust-lang/crates.io-index" 1648source = "registry+https://github.com/rust-lang/crates.io-index"
1679checksum = "f7b33f8b2ef2ab0c3778c12646d9c42a24f7772bee4cdafc72199644a9f58fdc" 1649checksum = "abd165311cc4d7a555ad11cc77a37756df836182db0d81aac908c8184c584f40"
1680dependencies = [ 1650dependencies = [
1681 "ansi_term", 1651 "ansi_term",
1682 "chrono", 1652 "chrono",
@@ -1687,6 +1657,7 @@ dependencies = [
1687 "serde_json", 1657 "serde_json",
1688 "sharded-slab", 1658 "sharded-slab",
1689 "smallvec", 1659 "smallvec",
1660 "thread_local",
1690 "tracing-core", 1661 "tracing-core",
1691 "tracing-log", 1662 "tracing-log",
1692 "tracing-serde", 1663 "tracing-serde",
@@ -1694,9 +1665,9 @@ dependencies = [
1694 1665
1695[[package]] 1666[[package]]
1696name = "tracing-tree" 1667name = "tracing-tree"
1697version = "0.1.4" 1668version = "0.1.5"
1698source = "registry+https://github.com/rust-lang/crates.io-index" 1669source = "registry+https://github.com/rust-lang/crates.io-index"
1699checksum = "37ee7f0f53ed2093971a698db799ef56a2dfd89b32e3aeb5165f0e637a02be04" 1670checksum = "e1a3dc4774db3a6b2d66a4f8d8de670e874ec3ed55615860c994927419b32c5f"
1700dependencies = [ 1671dependencies = [
1701 "ansi_term", 1672 "ansi_term",
1702 "atty", 1673 "atty",
@@ -1707,6 +1678,14 @@ dependencies = [
1707] 1678]
1708 1679
1709[[package]] 1680[[package]]
1681name = "tt"
1682version = "0.0.0"
1683dependencies = [
1684 "smol_str",
1685 "stdx",
1686]
1687
1688[[package]]
1710name = "ungrammar" 1689name = "ungrammar"
1711version = "1.1.1" 1690version = "1.1.1"
1712source = "registry+https://github.com/rust-lang/crates.io-index" 1691source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -1756,7 +1735,7 @@ dependencies = [
1756 1735
1757[[package]] 1736[[package]]
1758name = "vfs" 1737name = "vfs"
1759version = "0.1.0" 1738version = "0.0.0"
1760dependencies = [ 1739dependencies = [
1761 "fst", 1740 "fst",
1762 "paths", 1741 "paths",
@@ -1765,7 +1744,7 @@ dependencies = [
1765 1744
1766[[package]] 1745[[package]]
1767name = "vfs-notify" 1746name = "vfs-notify"
1768version = "0.1.0" 1747version = "0.0.0"
1769dependencies = [ 1748dependencies = [
1770 "crossbeam-channel", 1749 "crossbeam-channel",
1771 "jod-thread", 1750 "jod-thread",
diff --git a/README.md b/README.md
index 16c980400..264e4da70 100644
--- a/README.md
+++ b/README.md
@@ -39,7 +39,7 @@ https://rust-lang.zulipchat.com/#narrow/stream/185405-t-compiler.2Frls-2.2E0
39 39
40* Website: https://rust-analyzer.github.io/ 40* Website: https://rust-analyzer.github.io/
41* Metrics: https://rust-analyzer.github.io/metrics/ 41* Metrics: https://rust-analyzer.github.io/metrics/
42* API docs: https://rust-analyzer.github.io/rust-analyzer/ra_ide/ 42* API docs: https://rust-analyzer.github.io/rust-analyzer/ide/
43 43
44## License 44## License
45 45
diff --git a/bors.toml b/bors.toml
index 13ce236df..4c980a24d 100644
--- a/bors.toml
+++ b/bors.toml
@@ -1,9 +1,8 @@
1status = [ 1status = [
2 "Rust (ubuntu-latest)", 2 "Rust (ubuntu-latest)",
3 "Rust (windows-latest)", 3 "Rust (windows-latest)",
4 "Rust (macos-latest)", 4 # "Rust (macos-latest)",
5 "TypeScript (ubuntu-latest)", 5 "TypeScript (ubuntu-latest)",
6 "TypeScript (windows-latest)", 6 "TypeScript (windows-latest)",
7 "TypeScript (macos-latest)",
8] 7]
9delete_merged_branches = true 8delete_merged_branches = true
diff --git a/crates/arena/Cargo.toml b/crates/arena/Cargo.toml
new file mode 100644
index 000000000..f2bb5cc45
--- /dev/null
+++ b/crates/arena/Cargo.toml
@@ -0,0 +1,9 @@
1[package]
2name = "arena"
3version = "0.0.0"
4license = "MIT OR Apache-2.0"
5authors = ["rust-analyzer developers"]
6edition = "2018"
7
8[lib]
9doctest = false
diff --git a/crates/ra_arena/src/lib.rs b/crates/arena/src/lib.rs
index 3169aa5b8..3169aa5b8 100644
--- a/crates/ra_arena/src/lib.rs
+++ b/crates/arena/src/lib.rs
diff --git a/crates/ra_arena/src/map.rs b/crates/arena/src/map.rs
index 0f33907c0..0f33907c0 100644
--- a/crates/ra_arena/src/map.rs
+++ b/crates/arena/src/map.rs
diff --git a/crates/assists/Cargo.toml b/crates/assists/Cargo.toml
new file mode 100644
index 000000000..a560a35c7
--- /dev/null
+++ b/crates/assists/Cargo.toml
@@ -0,0 +1,23 @@
1[package]
2name = "assists"
3version = "0.0.0"
4license = "MIT OR Apache-2.0"
5authors = ["rust-analyzer developers"]
6edition = "2018"
7
8[lib]
9doctest = false
10
11[dependencies]
12rustc-hash = "1.1.0"
13itertools = "0.9.0"
14either = "1.5.3"
15
16stdx = { path = "../stdx" }
17syntax = { path = "../syntax" }
18text_edit = { path = "../text_edit" }
19profile = { path = "../profile" }
20base_db = { path = "../base_db" }
21ide_db = { path = "../ide_db" }
22hir = { path = "../hir" }
23test_utils = { path = "../test_utils" }
diff --git a/crates/ra_assists/src/assist_config.rs b/crates/assists/src/assist_config.rs
index cda2abfb9..cda2abfb9 100644
--- a/crates/ra_assists/src/assist_config.rs
+++ b/crates/assists/src/assist_config.rs
diff --git a/crates/assists/src/assist_context.rs b/crates/assists/src/assist_context.rs
new file mode 100644
index 000000000..79574b9ac
--- /dev/null
+++ b/crates/assists/src/assist_context.rs
@@ -0,0 +1,291 @@
1//! See `AssistContext`
2
3use std::mem;
4
5use algo::find_covering_element;
6use base_db::{FileId, FileRange};
7use hir::Semantics;
8use ide_db::{
9 source_change::{SourceChange, SourceFileEdit},
10 RootDatabase,
11};
12use syntax::{
13 algo::{self, find_node_at_offset, SyntaxRewriter},
14 AstNode, SourceFile, SyntaxElement, SyntaxKind, SyntaxToken, TextRange, TextSize,
15 TokenAtOffset,
16};
17use text_edit::{TextEdit, TextEditBuilder};
18
19use crate::{
20 assist_config::{AssistConfig, SnippetCap},
21 Assist, AssistId, AssistKind, GroupLabel, ResolvedAssist,
22};
23
24/// `AssistContext` allows to apply an assist or check if it could be applied.
25///
26/// Assists use a somewhat over-engineered approach, given the current needs.
27/// The assists workflow consists of two phases. In the first phase, a user asks
28/// for the list of available assists. In the second phase, the user picks a
29/// particular assist and it gets applied.
30///
31/// There are two peculiarities here:
32///
33/// * first, we ideally avoid computing more things then necessary to answer "is
34/// assist applicable" in the first phase.
35/// * second, when we are applying assist, we don't have a guarantee that there
36/// weren't any changes between the point when user asked for assists and when
37/// they applied a particular assist. So, when applying assist, we need to do
38/// all the checks from scratch.
39///
40/// To avoid repeating the same code twice for both "check" and "apply"
41/// functions, we use an approach reminiscent of that of Django's function based
42/// views dealing with forms. Each assist receives a runtime parameter,
43/// `resolve`. It first check if an edit is applicable (potentially computing
44/// info required to compute the actual edit). If it is applicable, and
45/// `resolve` is `true`, it then computes the actual edit.
46///
47/// So, to implement the original assists workflow, we can first apply each edit
48/// with `resolve = false`, and then applying the selected edit again, with
49/// `resolve = true` this time.
50///
51/// Note, however, that we don't actually use such two-phase logic at the
52/// moment, because the LSP API is pretty awkward in this place, and it's much
53/// easier to just compute the edit eagerly :-)
54pub(crate) struct AssistContext<'a> {
55 pub(crate) config: &'a AssistConfig,
56 pub(crate) sema: Semantics<'a, RootDatabase>,
57 pub(crate) frange: FileRange,
58 source_file: SourceFile,
59}
60
61impl<'a> AssistContext<'a> {
62 pub(crate) fn new(
63 sema: Semantics<'a, RootDatabase>,
64 config: &'a AssistConfig,
65 frange: FileRange,
66 ) -> AssistContext<'a> {
67 let source_file = sema.parse(frange.file_id);
68 AssistContext { config, sema, frange, source_file }
69 }
70
71 pub(crate) fn db(&self) -> &RootDatabase {
72 self.sema.db
73 }
74
75 pub(crate) fn source_file(&self) -> &SourceFile {
76 &self.source_file
77 }
78
79 // NB, this ignores active selection.
80 pub(crate) fn offset(&self) -> TextSize {
81 self.frange.range.start()
82 }
83
84 pub(crate) fn token_at_offset(&self) -> TokenAtOffset<SyntaxToken> {
85 self.source_file.syntax().token_at_offset(self.offset())
86 }
87 pub(crate) fn find_token_at_offset(&self, kind: SyntaxKind) -> Option<SyntaxToken> {
88 self.token_at_offset().find(|it| it.kind() == kind)
89 }
90 pub(crate) fn find_node_at_offset<N: AstNode>(&self) -> Option<N> {
91 find_node_at_offset(self.source_file.syntax(), self.offset())
92 }
93 pub(crate) fn find_node_at_offset_with_descend<N: AstNode>(&self) -> Option<N> {
94 self.sema.find_node_at_offset_with_descend(self.source_file.syntax(), self.offset())
95 }
96 pub(crate) fn covering_element(&self) -> SyntaxElement {
97 find_covering_element(self.source_file.syntax(), self.frange.range)
98 }
99 // FIXME: remove
100 pub(crate) fn covering_node_for_range(&self, range: TextRange) -> SyntaxElement {
101 find_covering_element(self.source_file.syntax(), range)
102 }
103}
104
105pub(crate) struct Assists {
106 resolve: bool,
107 file: FileId,
108 buf: Vec<(Assist, Option<SourceChange>)>,
109 allowed: Option<Vec<AssistKind>>,
110}
111
112impl Assists {
113 pub(crate) fn new_resolved(ctx: &AssistContext) -> Assists {
114 Assists {
115 resolve: true,
116 file: ctx.frange.file_id,
117 buf: Vec::new(),
118 allowed: ctx.config.allowed.clone(),
119 }
120 }
121
122 pub(crate) fn new_unresolved(ctx: &AssistContext) -> Assists {
123 Assists {
124 resolve: false,
125 file: ctx.frange.file_id,
126 buf: Vec::new(),
127 allowed: ctx.config.allowed.clone(),
128 }
129 }
130
131 pub(crate) fn finish_unresolved(self) -> Vec<Assist> {
132 assert!(!self.resolve);
133 self.finish()
134 .into_iter()
135 .map(|(label, edit)| {
136 assert!(edit.is_none());
137 label
138 })
139 .collect()
140 }
141
142 pub(crate) fn finish_resolved(self) -> Vec<ResolvedAssist> {
143 assert!(self.resolve);
144 self.finish()
145 .into_iter()
146 .map(|(label, edit)| ResolvedAssist { assist: label, source_change: edit.unwrap() })
147 .collect()
148 }
149
150 pub(crate) fn add(
151 &mut self,
152 id: AssistId,
153 label: impl Into<String>,
154 target: TextRange,
155 f: impl FnOnce(&mut AssistBuilder),
156 ) -> Option<()> {
157 if !self.is_allowed(&id) {
158 return None;
159 }
160 let label = Assist::new(id, label.into(), None, target);
161 self.add_impl(label, f)
162 }
163
164 pub(crate) fn add_group(
165 &mut self,
166 group: &GroupLabel,
167 id: AssistId,
168 label: impl Into<String>,
169 target: TextRange,
170 f: impl FnOnce(&mut AssistBuilder),
171 ) -> Option<()> {
172 if !self.is_allowed(&id) {
173 return None;
174 }
175
176 let label = Assist::new(id, label.into(), Some(group.clone()), target);
177 self.add_impl(label, f)
178 }
179
180 fn add_impl(&mut self, label: Assist, f: impl FnOnce(&mut AssistBuilder)) -> Option<()> {
181 let source_change = if self.resolve {
182 let mut builder = AssistBuilder::new(self.file);
183 f(&mut builder);
184 Some(builder.finish())
185 } else {
186 None
187 };
188
189 self.buf.push((label, source_change));
190 Some(())
191 }
192
193 fn finish(mut self) -> Vec<(Assist, Option<SourceChange>)> {
194 self.buf.sort_by_key(|(label, _edit)| label.target.len());
195 self.buf
196 }
197
198 fn is_allowed(&self, id: &AssistId) -> bool {
199 match &self.allowed {
200 Some(allowed) => allowed.iter().any(|kind| kind.contains(id.1)),
201 None => true,
202 }
203 }
204}
205
206pub(crate) struct AssistBuilder {
207 edit: TextEditBuilder,
208 file_id: FileId,
209 is_snippet: bool,
210 change: SourceChange,
211}
212
213impl AssistBuilder {
214 pub(crate) fn new(file_id: FileId) -> AssistBuilder {
215 AssistBuilder {
216 edit: TextEdit::builder(),
217 file_id,
218 is_snippet: false,
219 change: SourceChange::default(),
220 }
221 }
222
223 pub(crate) fn edit_file(&mut self, file_id: FileId) {
224 self.file_id = file_id;
225 }
226
227 fn commit(&mut self) {
228 let edit = mem::take(&mut self.edit).finish();
229 if !edit.is_empty() {
230 let new_edit = SourceFileEdit { file_id: self.file_id, edit };
231 assert!(!self.change.source_file_edits.iter().any(|it| it.file_id == new_edit.file_id));
232 self.change.source_file_edits.push(new_edit);
233 }
234 }
235
236 /// Remove specified `range` of text.
237 pub(crate) fn delete(&mut self, range: TextRange) {
238 self.edit.delete(range)
239 }
240 /// Append specified `text` at the given `offset`
241 pub(crate) fn insert(&mut self, offset: TextSize, text: impl Into<String>) {
242 self.edit.insert(offset, text.into())
243 }
244 /// Append specified `snippet` at the given `offset`
245 pub(crate) fn insert_snippet(
246 &mut self,
247 _cap: SnippetCap,
248 offset: TextSize,
249 snippet: impl Into<String>,
250 ) {
251 self.is_snippet = true;
252 self.insert(offset, snippet);
253 }
254 /// Replaces specified `range` of text with a given string.
255 pub(crate) fn replace(&mut self, range: TextRange, replace_with: impl Into<String>) {
256 self.edit.replace(range, replace_with.into())
257 }
258 /// Replaces specified `range` of text with a given `snippet`.
259 pub(crate) fn replace_snippet(
260 &mut self,
261 _cap: SnippetCap,
262 range: TextRange,
263 snippet: impl Into<String>,
264 ) {
265 self.is_snippet = true;
266 self.replace(range, snippet);
267 }
268 pub(crate) fn replace_ast<N: AstNode>(&mut self, old: N, new: N) {
269 algo::diff(old.syntax(), new.syntax()).into_text_edit(&mut self.edit)
270 }
271 pub(crate) fn rewrite(&mut self, rewriter: SyntaxRewriter) {
272 let node = rewriter.rewrite_root().unwrap();
273 let new = rewriter.rewrite(&node);
274 algo::diff(&node, &new).into_text_edit(&mut self.edit);
275 }
276
277 // FIXME: kill this API
278 /// Get access to the raw `TextEditBuilder`.
279 pub(crate) fn text_edit_builder(&mut self) -> &mut TextEditBuilder {
280 &mut self.edit
281 }
282
283 fn finish(mut self) -> SourceChange {
284 self.commit();
285 let mut change = mem::take(&mut self.change);
286 if self.is_snippet {
287 change.is_snippet = true;
288 }
289 change
290 }
291}
diff --git a/crates/assists/src/ast_transform.rs b/crates/assists/src/ast_transform.rs
new file mode 100644
index 000000000..5216862ba
--- /dev/null
+++ b/crates/assists/src/ast_transform.rs
@@ -0,0 +1,200 @@
1//! `AstTransformer`s are functions that replace nodes in an AST and can be easily combined.
2use rustc_hash::FxHashMap;
3
4use hir::{HirDisplay, PathResolution, SemanticsScope};
5use syntax::{
6 algo::SyntaxRewriter,
7 ast::{self, AstNode},
8};
9
10pub fn apply<'a, N: AstNode>(transformer: &dyn AstTransform<'a>, node: N) -> N {
11 SyntaxRewriter::from_fn(|element| match element {
12 syntax::SyntaxElement::Node(n) => {
13 let replacement = transformer.get_substitution(&n)?;
14 Some(replacement.into())
15 }
16 _ => None,
17 })
18 .rewrite_ast(&node)
19}
20
21pub trait AstTransform<'a> {
22 fn get_substitution(&self, node: &syntax::SyntaxNode) -> Option<syntax::SyntaxNode>;
23
24 fn chain_before(self, other: Box<dyn AstTransform<'a> + 'a>) -> Box<dyn AstTransform<'a> + 'a>;
25 fn or<T: AstTransform<'a> + 'a>(self, other: T) -> Box<dyn AstTransform<'a> + 'a>
26 where
27 Self: Sized + 'a,
28 {
29 self.chain_before(Box::new(other))
30 }
31}
32
33struct NullTransformer;
34
35impl<'a> AstTransform<'a> for NullTransformer {
36 fn get_substitution(&self, _node: &syntax::SyntaxNode) -> Option<syntax::SyntaxNode> {
37 None
38 }
39 fn chain_before(self, other: Box<dyn AstTransform<'a> + 'a>) -> Box<dyn AstTransform<'a> + 'a> {
40 other
41 }
42}
43
44pub struct SubstituteTypeParams<'a> {
45 source_scope: &'a SemanticsScope<'a>,
46 substs: FxHashMap<hir::TypeParam, ast::Type>,
47 previous: Box<dyn AstTransform<'a> + 'a>,
48}
49
50impl<'a> SubstituteTypeParams<'a> {
51 pub fn for_trait_impl(
52 source_scope: &'a SemanticsScope<'a>,
53 // FIXME: there's implicit invariant that `trait_` and `source_scope` match...
54 trait_: hir::Trait,
55 impl_def: ast::Impl,
56 ) -> SubstituteTypeParams<'a> {
57 let substs = get_syntactic_substs(impl_def).unwrap_or_default();
58 let generic_def: hir::GenericDef = trait_.into();
59 let substs_by_param: FxHashMap<_, _> = generic_def
60 .params(source_scope.db)
61 .into_iter()
62 // this is a trait impl, so we need to skip the first type parameter -- this is a bit hacky
63 .skip(1)
64 // The actual list of trait type parameters may be longer than the one
65 // used in the `impl` block due to trailing default type parameters.
66 // For that case we extend the `substs` with an empty iterator so we
67 // can still hit those trailing values and check if they actually have
68 // a default type. If they do, go for that type from `hir` to `ast` so
69 // the resulting change can be applied correctly.
70 .zip(substs.into_iter().map(Some).chain(std::iter::repeat(None)))
71 .filter_map(|(k, v)| match v {
72 Some(v) => Some((k, v)),
73 None => {
74 let default = k.default(source_scope.db)?;
75 Some((
76 k,
77 ast::make::ty(
78 &default
79 .display_source_code(source_scope.db, source_scope.module()?.into())
80 .ok()?,
81 ),
82 ))
83 }
84 })
85 .collect();
86 return SubstituteTypeParams {
87 source_scope,
88 substs: substs_by_param,
89 previous: Box::new(NullTransformer),
90 };
91
92 // FIXME: It would probably be nicer if we could get this via HIR (i.e. get the
93 // trait ref, and then go from the types in the substs back to the syntax).
94 fn get_syntactic_substs(impl_def: ast::Impl) -> Option<Vec<ast::Type>> {
95 let target_trait = impl_def.trait_()?;
96 let path_type = match target_trait {
97 ast::Type::PathType(path) => path,
98 _ => return None,
99 };
100 let generic_arg_list = path_type.path()?.segment()?.generic_arg_list()?;
101
102 let mut result = Vec::new();
103 for generic_arg in generic_arg_list.generic_args() {
104 match generic_arg {
105 ast::GenericArg::TypeArg(type_arg) => result.push(type_arg.ty()?),
106 ast::GenericArg::AssocTypeArg(_)
107 | ast::GenericArg::LifetimeArg(_)
108 | ast::GenericArg::ConstArg(_) => (),
109 }
110 }
111
112 Some(result)
113 }
114 }
115 fn get_substitution_inner(&self, node: &syntax::SyntaxNode) -> Option<syntax::SyntaxNode> {
116 let type_ref = ast::Type::cast(node.clone())?;
117 let path = match &type_ref {
118 ast::Type::PathType(path_type) => path_type.path()?,
119 _ => return None,
120 };
121 let resolution = self.source_scope.speculative_resolve(&path)?;
122 match resolution {
123 hir::PathResolution::TypeParam(tp) => Some(self.substs.get(&tp)?.syntax().clone()),
124 _ => None,
125 }
126 }
127}
128
129impl<'a> AstTransform<'a> for SubstituteTypeParams<'a> {
130 fn get_substitution(&self, node: &syntax::SyntaxNode) -> Option<s