diff options
author | Aleksey Kladov <[email protected]> | 2020-02-18 12:30:40 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2020-02-18 12:30:40 +0000 |
commit | d05480a178b132e62b8aff8986a8cb3dd3a89c0b (patch) | |
tree | 0fc36373073a66c2bbd6c7cfae6cb734527d847f /crates | |
parent | 2768476e491d985317b08230824f96e6718f338a (diff) | |
parent | 865759925be6b72f7ef39124ed0e4c86c0412a69 (diff) |
Merge pull request #3216 from matklad/rename-to-rust-analyzer
rename binary to rust-analyzer
Diffstat (limited to 'crates')
-rw-r--r-- | crates/ra_db/src/input.rs | 2 | ||||
-rw-r--r-- | crates/ra_ide_db/src/feature_flags.rs | 2 | ||||
-rw-r--r-- | crates/ra_prof/src/lib.rs | 4 | ||||
-rw-r--r-- | crates/ra_syntax/Cargo.toml | 2 | ||||
-rw-r--r-- | crates/ra_tt/Cargo.toml | 2 | ||||
-rw-r--r-- | crates/rust-analyzer/Cargo.toml (renamed from crates/ra_lsp_server/Cargo.toml) | 4 | ||||
-rw-r--r-- | crates/rust-analyzer/build.rs (renamed from crates/ra_lsp_server/build.rs) | 0 | ||||
-rw-r--r-- | crates/rust-analyzer/src/bin/args.rs (renamed from crates/ra_lsp_server/src/bin/args.rs) | 16 | ||||
-rw-r--r-- | crates/rust-analyzer/src/bin/main.rs (renamed from crates/ra_lsp_server/src/bin/main.rs) | 6 | ||||
-rw-r--r-- | crates/rust-analyzer/src/caps.rs (renamed from crates/ra_lsp_server/src/caps.rs) | 0 | ||||
-rw-r--r-- | crates/rust-analyzer/src/cargo_target_spec.rs (renamed from crates/ra_lsp_server/src/cargo_target_spec.rs) | 0 | ||||
-rw-r--r-- | crates/rust-analyzer/src/cli.rs (renamed from crates/ra_lsp_server/src/cli.rs) | 0 | ||||
-rw-r--r-- | crates/rust-analyzer/src/cli/analysis_bench.rs (renamed from crates/ra_lsp_server/src/cli/analysis_bench.rs) | 0 | ||||
-rw-r--r-- | crates/rust-analyzer/src/cli/analysis_stats.rs (renamed from crates/ra_lsp_server/src/cli/analysis_stats.rs) | 0 | ||||
-rw-r--r-- | crates/rust-analyzer/src/cli/load_cargo.rs (renamed from crates/ra_lsp_server/src/cli/load_cargo.rs) | 0 | ||||
-rw-r--r-- | crates/rust-analyzer/src/cli/progress_report.rs (renamed from crates/ra_lsp_server/src/cli/progress_report.rs) | 0 | ||||
-rw-r--r-- | crates/rust-analyzer/src/config.rs (renamed from crates/ra_lsp_server/src/config.rs) | 0 | ||||
-rw-r--r-- | crates/rust-analyzer/src/conv.rs (renamed from crates/ra_lsp_server/src/conv.rs) | 0 | ||||
-rw-r--r-- | crates/rust-analyzer/src/diagnostics.rs (renamed from crates/ra_lsp_server/src/diagnostics.rs) | 0 | ||||
-rw-r--r-- | crates/rust-analyzer/src/lib.rs (renamed from crates/ra_lsp_server/src/lib.rs) | 0 | ||||
-rw-r--r-- | crates/rust-analyzer/src/main_loop.rs (renamed from crates/ra_lsp_server/src/main_loop.rs) | 2 | ||||
-rw-r--r-- | crates/rust-analyzer/src/main_loop/handlers.rs (renamed from crates/ra_lsp_server/src/main_loop/handlers.rs) | 0 | ||||
-rw-r--r-- | crates/rust-analyzer/src/main_loop/pending_requests.rs (renamed from crates/ra_lsp_server/src/main_loop/pending_requests.rs) | 0 | ||||
-rw-r--r-- | crates/rust-analyzer/src/main_loop/subscriptions.rs (renamed from crates/ra_lsp_server/src/main_loop/subscriptions.rs) | 0 | ||||
-rw-r--r-- | crates/rust-analyzer/src/markdown.rs (renamed from crates/ra_lsp_server/src/markdown.rs) | 0 | ||||
-rw-r--r-- | crates/rust-analyzer/src/req.rs (renamed from crates/ra_lsp_server/src/req.rs) | 0 | ||||
-rw-r--r-- | crates/rust-analyzer/src/vfs_glob.rs (renamed from crates/ra_lsp_server/src/vfs_glob.rs) | 0 | ||||
-rw-r--r-- | crates/rust-analyzer/src/world.rs (renamed from crates/ra_lsp_server/src/world.rs) | 0 | ||||
-rw-r--r-- | crates/rust-analyzer/tests/heavy_tests/main.rs (renamed from crates/ra_lsp_server/tests/heavy_tests/main.rs) | 2 | ||||
-rw-r--r-- | crates/rust-analyzer/tests/heavy_tests/support.rs (renamed from crates/ra_lsp_server/tests/heavy_tests/support.rs) | 2 |
30 files changed, 22 insertions, 22 deletions
diff --git a/crates/ra_db/src/input.rs b/crates/ra_db/src/input.rs index 1f1dcea42..1b4b47215 100644 --- a/crates/ra_db/src/input.rs +++ b/crates/ra_db/src/input.rs | |||
@@ -3,7 +3,7 @@ | |||
3 | //! derived from this input. | 3 | //! derived from this input. |
4 | //! | 4 | //! |
5 | //! Note that neither this module, nor any other part of the analyzer's core do | 5 | //! Note that neither this module, nor any other part of the analyzer's core do |
6 | //! actual IO. See `vfs` and `project_model` in the `ra_lsp_server` crate for how | 6 | //! actual IO. See `vfs` and `project_model` in the `rust-analyzer` crate for how |
7 | //! actual IO is done and lowered to input. | 7 | //! actual IO is done and lowered to input. |
8 | 8 | ||
9 | use std::{fmt, str::FromStr}; | 9 | use std::{fmt, str::FromStr}; |
diff --git a/crates/ra_ide_db/src/feature_flags.rs b/crates/ra_ide_db/src/feature_flags.rs index 1b3cabf4d..76655f572 100644 --- a/crates/ra_ide_db/src/feature_flags.rs +++ b/crates/ra_ide_db/src/feature_flags.rs | |||
@@ -13,7 +13,7 @@ use rustc_hash::FxHashMap; | |||
13 | /// checked at compile time, to keep things simple and flexible. | 13 | /// checked at compile time, to keep things simple and flexible. |
14 | /// | 14 | /// |
15 | /// Also note that, at the moment, `FeatureFlags` also store features for | 15 | /// Also note that, at the moment, `FeatureFlags` also store features for |
16 | /// `ra_lsp_server`. This should be benign layering violation. | 16 | /// `rust-analyzer`. This should be benign layering violation. |
17 | #[derive(Debug)] | 17 | #[derive(Debug)] |
18 | pub struct FeatureFlags { | 18 | pub struct FeatureFlags { |
19 | flags: FxHashMap<String, bool>, | 19 | flags: FxHashMap<String, bool>, |
diff --git a/crates/ra_prof/src/lib.rs b/crates/ra_prof/src/lib.rs index 7ff8db58a..c267bc85f 100644 --- a/crates/ra_prof/src/lib.rs +++ b/crates/ra_prof/src/lib.rs | |||
@@ -351,13 +351,13 @@ impl Drop for Scope { | |||
351 | /// 2. Build with `cpu_profiler` feature. | 351 | /// 2. Build with `cpu_profiler` feature. |
352 | /// 3. Tun the code, the *raw* output would be in the `./out.profile` file. | 352 | /// 3. Tun the code, the *raw* output would be in the `./out.profile` file. |
353 | /// 4. Install pprof for visualization (https://github.com/google/pprof). | 353 | /// 4. Install pprof for visualization (https://github.com/google/pprof). |
354 | /// 5. Use something like `pprof -svg target/release/ra_lsp_server ./out.profile` to see the results. | 354 | /// 5. Use something like `pprof -svg target/release/rust-analyzer ./out.profile` to see the results. |
355 | /// | 355 | /// |
356 | /// For example, here's how I run profiling on NixOS: | 356 | /// For example, here's how I run profiling on NixOS: |
357 | /// | 357 | /// |
358 | /// ```bash | 358 | /// ```bash |
359 | /// $ nix-shell -p gperftools --run \ | 359 | /// $ nix-shell -p gperftools --run \ |
360 | /// 'cargo run --release -p ra_lsp_server -- parse < ~/projects/rustbench/parser.rs > /dev/null' | 360 | /// 'cargo run --release -p rust-analyzer -- parse < ~/projects/rustbench/parser.rs > /dev/null' |
361 | /// ``` | 361 | /// ``` |
362 | #[derive(Debug)] | 362 | #[derive(Debug)] |
363 | pub struct CpuProfiler { | 363 | pub struct CpuProfiler { |
diff --git a/crates/ra_syntax/Cargo.toml b/crates/ra_syntax/Cargo.toml index 83db943fe..cb72972c5 100644 --- a/crates/ra_syntax/Cargo.toml +++ b/crates/ra_syntax/Cargo.toml | |||
@@ -22,7 +22,7 @@ ra_text_edit = { path = "../ra_text_edit" } | |||
22 | ra_parser = { path = "../ra_parser" } | 22 | ra_parser = { path = "../ra_parser" } |
23 | 23 | ||
24 | # This crate transitively depends on `smol_str` via `rowan`. | 24 | # This crate transitively depends on `smol_str` via `rowan`. |
25 | # ideally, `serde` should be enabled by `ra_lsp_server`, but we enable it here | 25 | # ideally, `serde` should be enabled by `rust-analyzer`, but we enable it here |
26 | # to reduce number of compilations | 26 | # to reduce number of compilations |
27 | smol_str = { version = "0.1.12", features = ["serde"] } | 27 | smol_str = { version = "0.1.12", features = ["serde"] } |
28 | serde = { version = "1", features = ["derive"] } | 28 | serde = { version = "1", features = ["derive"] } |
diff --git a/crates/ra_tt/Cargo.toml b/crates/ra_tt/Cargo.toml index b8dceb92a..c9601fdcc 100644 --- a/crates/ra_tt/Cargo.toml +++ b/crates/ra_tt/Cargo.toml | |||
@@ -8,6 +8,6 @@ authors = ["rust-analyzer developers"] | |||
8 | doctest = false | 8 | doctest = false |
9 | 9 | ||
10 | [dependencies] | 10 | [dependencies] |
11 | # ideally, `serde` should be enabled by `ra_lsp_server`, but we enable it here | 11 | # ideally, `serde` should be enabled by `rust-analyzer`, but we enable it here |
12 | # to reduce number of compilations | 12 | # to reduce number of compilations |
13 | smol_str = { version = "0.1.12", features = ["serde"] } | 13 | smol_str = { version = "0.1.12", features = ["serde"] } |
diff --git a/crates/ra_lsp_server/Cargo.toml b/crates/rust-analyzer/Cargo.toml index 151ca3da5..3dae43d2a 100644 --- a/crates/ra_lsp_server/Cargo.toml +++ b/crates/rust-analyzer/Cargo.toml | |||
@@ -1,6 +1,6 @@ | |||
1 | [package] | 1 | [package] |
2 | edition = "2018" | 2 | edition = "2018" |
3 | name = "ra_lsp_server" | 3 | name = "rust-analyzer" |
4 | version = "0.1.0" | 4 | version = "0.1.0" |
5 | authors = ["rust-analyzer developers"] | 5 | authors = ["rust-analyzer developers"] |
6 | autobins = false | 6 | autobins = false |
@@ -9,7 +9,7 @@ autobins = false | |||
9 | doctest = false | 9 | doctest = false |
10 | 10 | ||
11 | [[bin]] | 11 | [[bin]] |
12 | name = "ra_lsp_server" | 12 | name = "rust-analyzer" |
13 | path = "./src/bin/main.rs" | 13 | path = "./src/bin/main.rs" |
14 | 14 | ||
15 | [dependencies] | 15 | [dependencies] |
diff --git a/crates/ra_lsp_server/build.rs b/crates/rust-analyzer/build.rs index 05f9772c0..05f9772c0 100644 --- a/crates/ra_lsp_server/build.rs +++ b/crates/rust-analyzer/build.rs | |||
diff --git a/crates/ra_lsp_server/src/bin/args.rs b/crates/rust-analyzer/src/bin/args.rs index 3890fe13a..5ad3963a2 100644 --- a/crates/ra_lsp_server/src/bin/args.rs +++ b/crates/rust-analyzer/src/bin/args.rs | |||
@@ -5,7 +5,7 @@ | |||
5 | 5 | ||
6 | use anyhow::{bail, Result}; | 6 | use anyhow::{bail, Result}; |
7 | use pico_args::Arguments; | 7 | use pico_args::Arguments; |
8 | use ra_lsp_server::cli::{BenchWhat, Position, Verbosity}; | 8 | use rust_analyzer::cli::{BenchWhat, Position, Verbosity}; |
9 | 9 | ||
10 | use std::{fmt::Write, path::PathBuf}; | 10 | use std::{fmt::Write, path::PathBuf}; |
11 | 11 | ||
@@ -74,7 +74,7 @@ impl Args { | |||
74 | ra-cli-parse | 74 | ra-cli-parse |
75 | 75 | ||
76 | USAGE: | 76 | USAGE: |
77 | ra_lsp_server parse [FLAGS] | 77 | rust-analyzer parse [FLAGS] |
78 | 78 | ||
79 | FLAGS: | 79 | FLAGS: |
80 | -h, --help Prints help inforamtion | 80 | -h, --help Prints help inforamtion |
@@ -94,7 +94,7 @@ FLAGS: | |||
94 | ra-cli-symbols | 94 | ra-cli-symbols |
95 | 95 | ||
96 | USAGE: | 96 | USAGE: |
97 | ra_lsp_server highlight [FLAGS] | 97 | rust-analyzer highlight [FLAGS] |
98 | 98 | ||
99 | FLAGS: | 99 | FLAGS: |
100 | -h, --help Prints help inforamtion" | 100 | -h, --help Prints help inforamtion" |
@@ -113,7 +113,7 @@ FLAGS: | |||
113 | ra-cli-highlight | 113 | ra-cli-highlight |
114 | 114 | ||
115 | USAGE: | 115 | USAGE: |
116 | ra_lsp_server highlight [FLAGS] | 116 | rust-analyzer highlight [FLAGS] |
117 | 117 | ||
118 | FLAGS: | 118 | FLAGS: |
119 | -h, --help Prints help information | 119 | -h, --help Prints help information |
@@ -133,7 +133,7 @@ FLAGS: | |||
133 | ra-cli-analysis-stats | 133 | ra-cli-analysis-stats |
134 | 134 | ||
135 | USAGE: | 135 | USAGE: |
136 | ra_lsp_server analysis-stats [FLAGS] [OPTIONS] [PATH] | 136 | rust-analyzer analysis-stats [FLAGS] [OPTIONS] [PATH] |
137 | 137 | ||
138 | FLAGS: | 138 | FLAGS: |
139 | -h, --help Prints help information | 139 | -h, --help Prints help information |
@@ -168,10 +168,10 @@ ARGS: | |||
168 | if matches.contains(["-h", "--help"]) { | 168 | if matches.contains(["-h", "--help"]) { |
169 | eprintln!( | 169 | eprintln!( |
170 | "\ | 170 | "\ |
171 | ra_lsp_server-analysis-bench | 171 | rust-analyzer-analysis-bench |
172 | 172 | ||
173 | USAGE: | 173 | USAGE: |
174 | ra_lsp_server analysis-bench [FLAGS] [OPTIONS] [PATH] | 174 | rust-analyzer analysis-bench [FLAGS] [OPTIONS] [PATH] |
175 | 175 | ||
176 | FLAGS: | 176 | FLAGS: |
177 | -h, --help Prints help information | 177 | -h, --help Prints help information |
@@ -207,7 +207,7 @@ ARGS: | |||
207 | ra-cli | 207 | ra-cli |
208 | 208 | ||
209 | USAGE: | 209 | USAGE: |
210 | ra_lsp_server <SUBCOMMAND> | 210 | rust-analyzer <SUBCOMMAND> |
211 | 211 | ||
212 | FLAGS: | 212 | FLAGS: |
213 | -h, --help Prints help information | 213 | -h, --help Prints help information |
diff --git a/crates/ra_lsp_server/src/bin/main.rs b/crates/rust-analyzer/src/bin/main.rs index e25d54a0d..69e709a25 100644 --- a/crates/ra_lsp_server/src/bin/main.rs +++ b/crates/rust-analyzer/src/bin/main.rs | |||
@@ -4,8 +4,8 @@ | |||
4 | mod args; | 4 | mod args; |
5 | 5 | ||
6 | use lsp_server::Connection; | 6 | use lsp_server::Connection; |
7 | use ra_lsp_server::{cli, from_json, show_message, Result, ServerConfig}; | ||
8 | use ra_prof; | 7 | use ra_prof; |
8 | use rust_analyzer::{cli, from_json, show_message, Result, ServerConfig}; | ||
9 | 9 | ||
10 | use crate::args::HelpPrinted; | 10 | use crate::args::HelpPrinted; |
11 | 11 | ||
@@ -51,7 +51,7 @@ fn run_server() -> Result<()> { | |||
51 | log::info!("lifecycle: server started"); | 51 | log::info!("lifecycle: server started"); |
52 | 52 | ||
53 | let (connection, io_threads) = Connection::stdio(); | 53 | let (connection, io_threads) = Connection::stdio(); |
54 | let server_capabilities = serde_json::to_value(ra_lsp_server::server_capabilities()).unwrap(); | 54 | let server_capabilities = serde_json::to_value(rust_analyzer::server_capabilities()).unwrap(); |
55 | 55 | ||
56 | let initialize_params = connection.initialize(server_capabilities)?; | 56 | let initialize_params = connection.initialize(server_capabilities)?; |
57 | let initialize_params = | 57 | let initialize_params = |
@@ -84,7 +84,7 @@ fn run_server() -> Result<()> { | |||
84 | }) | 84 | }) |
85 | .unwrap_or_default(); | 85 | .unwrap_or_default(); |
86 | 86 | ||
87 | ra_lsp_server::main_loop( | 87 | rust_analyzer::main_loop( |
88 | workspace_roots, | 88 | workspace_roots, |
89 | initialize_params.capabilities, | 89 | initialize_params.capabilities, |
90 | server_config, | 90 | server_config, |
diff --git a/crates/ra_lsp_server/src/caps.rs b/crates/rust-analyzer/src/caps.rs index c4711076c..c4711076c 100644 --- a/crates/ra_lsp_server/src/caps.rs +++ b/crates/rust-analyzer/src/caps.rs | |||
diff --git a/crates/ra_lsp_server/src/cargo_target_spec.rs b/crates/rust-analyzer/src/cargo_target_spec.rs index 53751aafb..53751aafb 100644 --- a/crates/ra_lsp_server/src/cargo_target_spec.rs +++ b/crates/rust-analyzer/src/cargo_target_spec.rs | |||
diff --git a/crates/ra_lsp_server/src/cli.rs b/crates/rust-analyzer/src/cli.rs index c9738d101..c9738d101 100644 --- a/crates/ra_lsp_server/src/cli.rs +++ b/crates/rust-analyzer/src/cli.rs | |||
diff --git a/crates/ra_lsp_server/src/cli/analysis_bench.rs b/crates/rust-analyzer/src/cli/analysis_bench.rs index 91855e592..91855e592 100644 --- a/crates/ra_lsp_server/src/cli/analysis_bench.rs +++ b/crates/rust-analyzer/src/cli/analysis_bench.rs | |||
diff --git a/crates/ra_lsp_server/src/cli/analysis_stats.rs b/crates/rust-analyzer/src/cli/analysis_stats.rs index 99ab6e443..99ab6e443 100644 --- a/crates/ra_lsp_server/src/cli/analysis_stats.rs +++ b/crates/rust-analyzer/src/cli/analysis_stats.rs | |||
diff --git a/crates/ra_lsp_server/src/cli/load_cargo.rs b/crates/rust-analyzer/src/cli/load_cargo.rs index 8cd08ecb6..8cd08ecb6 100644 --- a/crates/ra_lsp_server/src/cli/load_cargo.rs +++ b/crates/rust-analyzer/src/cli/load_cargo.rs | |||
diff --git a/crates/ra_lsp_server/src/cli/progress_report.rs b/crates/rust-analyzer/src/cli/progress_report.rs index 31867a1e9..31867a1e9 100644 --- a/crates/ra_lsp_server/src/cli/progress_report.rs +++ b/crates/rust-analyzer/src/cli/progress_report.rs | |||
diff --git a/crates/ra_lsp_server/src/config.rs b/crates/rust-analyzer/src/config.rs index 3314269ec..3314269ec 100644 --- a/crates/ra_lsp_server/src/config.rs +++ b/crates/rust-analyzer/src/config.rs | |||
diff --git a/crates/ra_lsp_server/src/conv.rs b/crates/rust-analyzer/src/conv.rs index 90ef74056..90ef74056 100644 --- a/crates/ra_lsp_server/src/conv.rs +++ b/crates/rust-analyzer/src/conv.rs | |||
diff --git a/crates/ra_lsp_server/src/diagnostics.rs b/crates/rust-analyzer/src/diagnostics.rs index e7924f0a3..e7924f0a3 100644 --- a/crates/ra_lsp_server/src/diagnostics.rs +++ b/crates/rust-analyzer/src/diagnostics.rs | |||
diff --git a/crates/ra_lsp_server/src/lib.rs b/crates/rust-analyzer/src/lib.rs index 0dae30e46..0dae30e46 100644 --- a/crates/ra_lsp_server/src/lib.rs +++ b/crates/rust-analyzer/src/lib.rs | |||
diff --git a/crates/ra_lsp_server/src/main_loop.rs b/crates/rust-analyzer/src/main_loop.rs index 67d8a5f6f..dc16a234d 100644 --- a/crates/ra_lsp_server/src/main_loop.rs +++ b/crates/rust-analyzer/src/main_loop.rs | |||
@@ -1,4 +1,4 @@ | |||
1 | //! The main loop of `ra_lsp_server` responsible for dispatching LSP | 1 | //! The main loop of `rust-analyzer` responsible for dispatching LSP |
2 | //! requests/replies and notifications back to the client. | 2 | //! requests/replies and notifications back to the client. |
3 | 3 | ||
4 | mod handlers; | 4 | mod handlers; |
diff --git a/crates/ra_lsp_server/src/main_loop/handlers.rs b/crates/rust-analyzer/src/main_loop/handlers.rs index bb7bab372..bb7bab372 100644 --- a/crates/ra_lsp_server/src/main_loop/handlers.rs +++ b/crates/rust-analyzer/src/main_loop/handlers.rs | |||
diff --git a/crates/ra_lsp_server/src/main_loop/pending_requests.rs b/crates/rust-analyzer/src/main_loop/pending_requests.rs index 73b33e419..73b33e419 100644 --- a/crates/ra_lsp_server/src/main_loop/pending_requests.rs +++ b/crates/rust-analyzer/src/main_loop/pending_requests.rs | |||
diff --git a/crates/ra_lsp_server/src/main_loop/subscriptions.rs b/crates/rust-analyzer/src/main_loop/subscriptions.rs index bee6437cf..bee6437cf 100644 --- a/crates/ra_lsp_server/src/main_loop/subscriptions.rs +++ b/crates/rust-analyzer/src/main_loop/subscriptions.rs | |||
diff --git a/crates/ra_lsp_server/src/markdown.rs b/crates/rust-analyzer/src/markdown.rs index 76bef45cc..76bef45cc 100644 --- a/crates/ra_lsp_server/src/markdown.rs +++ b/crates/rust-analyzer/src/markdown.rs | |||
diff --git a/crates/ra_lsp_server/src/req.rs b/crates/rust-analyzer/src/req.rs index 7ff7f60b3..7ff7f60b3 100644 --- a/crates/ra_lsp_server/src/req.rs +++ b/crates/rust-analyzer/src/req.rs | |||
diff --git a/crates/ra_lsp_server/src/vfs_glob.rs b/crates/rust-analyzer/src/vfs_glob.rs index 91b33f94e..91b33f94e 100644 --- a/crates/ra_lsp_server/src/vfs_glob.rs +++ b/crates/rust-analyzer/src/vfs_glob.rs | |||
diff --git a/crates/ra_lsp_server/src/world.rs b/crates/rust-analyzer/src/world.rs index 96efab844..96efab844 100644 --- a/crates/ra_lsp_server/src/world.rs +++ b/crates/rust-analyzer/src/world.rs | |||
diff --git a/crates/ra_lsp_server/tests/heavy_tests/main.rs b/crates/rust-analyzer/tests/heavy_tests/main.rs index 9ca31cbcc..3af63d9cf 100644 --- a/crates/ra_lsp_server/tests/heavy_tests/main.rs +++ b/crates/rust-analyzer/tests/heavy_tests/main.rs | |||
@@ -7,7 +7,7 @@ use lsp_types::{ | |||
7 | PartialResultParams, Position, Range, TextDocumentItem, TextDocumentPositionParams, | 7 | PartialResultParams, Position, Range, TextDocumentItem, TextDocumentPositionParams, |
8 | WorkDoneProgressParams, | 8 | WorkDoneProgressParams, |
9 | }; | 9 | }; |
10 | use ra_lsp_server::req::{ | 10 | use rust_analyzer::req::{ |
11 | CodeActionParams, CodeActionRequest, Completion, CompletionParams, DidOpenTextDocument, | 11 | CodeActionParams, CodeActionRequest, Completion, CompletionParams, DidOpenTextDocument, |
12 | Formatting, OnEnter, Runnables, RunnablesParams, | 12 | Formatting, OnEnter, Runnables, RunnablesParams, |
13 | }; | 13 | }; |
diff --git a/crates/ra_lsp_server/tests/heavy_tests/support.rs b/crates/rust-analyzer/tests/heavy_tests/support.rs index d5ea52fa9..5b90b3218 100644 --- a/crates/ra_lsp_server/tests/heavy_tests/support.rs +++ b/crates/rust-analyzer/tests/heavy_tests/support.rs | |||
@@ -19,7 +19,7 @@ use serde_json::{to_string_pretty, Value}; | |||
19 | use tempfile::TempDir; | 19 | use tempfile::TempDir; |
20 | use test_utils::{find_mismatch, parse_fixture}; | 20 | use test_utils::{find_mismatch, parse_fixture}; |
21 | 21 | ||
22 | use ra_lsp_server::{main_loop, req, ServerConfig}; | 22 | use rust_analyzer::{main_loop, req, ServerConfig}; |
23 | 23 | ||
24 | pub struct Project<'a> { | 24 | pub struct Project<'a> { |
25 | fixture: &'a str, | 25 | fixture: &'a str, |