diff options
Diffstat (limited to 'crates/rust-analyzer/src/world.rs')
-rw-r--r-- | crates/rust-analyzer/src/world.rs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/crates/rust-analyzer/src/world.rs b/crates/rust-analyzer/src/world.rs index 8043a6cd3..6eb1ea7d2 100644 --- a/crates/rust-analyzer/src/world.rs +++ b/crates/rust-analyzer/src/world.rs | |||
@@ -13,9 +13,10 @@ use lsp_types::Url; | |||
13 | use parking_lot::RwLock; | 13 | use parking_lot::RwLock; |
14 | use ra_cargo_watch::{url_from_path_with_drive_lowercasing, CheckOptions, CheckWatcher}; | 14 | use ra_cargo_watch::{url_from_path_with_drive_lowercasing, CheckOptions, CheckWatcher}; |
15 | use ra_ide::{ | 15 | use ra_ide::{ |
16 | Analysis, AnalysisChange, AnalysisHost, CrateGraph, FileId, LibraryData, SourceRootId, | 16 | Analysis, AnalysisChange, AnalysisHost, CrateGraph, FileId, InlayConfig, LibraryData, |
17 | SourceRootId, | ||
17 | }; | 18 | }; |
18 | use ra_project_model::{get_rustc_cfg_options, InlayHintOptions, ProjectWorkspace}; | 19 | use ra_project_model::{get_rustc_cfg_options, ProjectWorkspace}; |
19 | use ra_vfs::{LineEndings, RootEntry, Vfs, VfsChange, VfsFile, VfsRoot, VfsTask, Watch}; | 20 | use ra_vfs::{LineEndings, RootEntry, Vfs, VfsChange, VfsFile, VfsRoot, VfsTask, Watch}; |
20 | use relative_path::RelativePathBuf; | 21 | use relative_path::RelativePathBuf; |
21 | 22 | ||
@@ -32,7 +33,7 @@ pub struct Options { | |||
32 | pub publish_decorations: bool, | 33 | pub publish_decorations: bool, |
33 | pub supports_location_link: bool, | 34 | pub supports_location_link: bool, |
34 | pub line_folding_only: bool, | 35 | pub line_folding_only: bool, |
35 | pub inlay_hint_opts: InlayHintOptions, | 36 | pub inlay_hint_opts: InlayConfig, |
36 | pub rustfmt_args: Vec<String>, | 37 | pub rustfmt_args: Vec<String>, |
37 | pub cargo_watch: CheckOptions, | 38 | pub cargo_watch: CheckOptions, |
38 | } | 39 | } |