aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_db
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_db')
-rw-r--r--crates/ra_db/Cargo.toml2
-rw-r--r--crates/ra_db/src/input.rs4
2 files changed, 3 insertions, 3 deletions
diff --git a/crates/ra_db/Cargo.toml b/crates/ra_db/Cargo.toml
index 9cb9ba11c..47a0f6248 100644
--- a/crates/ra_db/Cargo.toml
+++ b/crates/ra_db/Cargo.toml
@@ -15,7 +15,7 @@ rustc-hash = "1.1.0"
15ra_syntax = { path = "../ra_syntax" } 15ra_syntax = { path = "../ra_syntax" }
16ra_cfg = { path = "../ra_cfg" } 16ra_cfg = { path = "../ra_cfg" }
17profile = { path = "../profile" } 17profile = { path = "../profile" }
18ra_tt = { path = "../ra_tt" } 18tt = { path = "../tt" }
19test_utils = { path = "../test_utils" } 19test_utils = { path = "../test_utils" }
20vfs = { path = "../vfs" } 20vfs = { path = "../vfs" }
21stdx = { path = "../stdx" } 21stdx = { path = "../stdx" }
diff --git a/crates/ra_db/src/input.rs b/crates/ra_db/src/input.rs
index 6f2e5cfc7..02a1abee0 100644
--- a/crates/ra_db/src/input.rs
+++ b/crates/ra_db/src/input.rs
@@ -10,8 +10,8 @@ use std::{fmt, iter::FromIterator, ops, str::FromStr, sync::Arc};
10 10
11use ra_cfg::CfgOptions; 11use ra_cfg::CfgOptions;
12use ra_syntax::SmolStr; 12use ra_syntax::SmolStr;
13use ra_tt::TokenExpander;
14use rustc_hash::{FxHashMap, FxHashSet}; 13use rustc_hash::{FxHashMap, FxHashSet};
14use tt::TokenExpander;
15use vfs::file_set::FileSet; 15use vfs::file_set::FileSet;
16 16
17pub use vfs::FileId; 17pub use vfs::FileId;
@@ -156,7 +156,7 @@ impl CrateGraph {
156 display_name: Option<String>, 156 display_name: Option<String>,
157 cfg_options: CfgOptions, 157 cfg_options: CfgOptions,
158 env: Env, 158 env: Env,
159 proc_macro: Vec<(SmolStr, Arc<dyn ra_tt::TokenExpander>)>, 159 proc_macro: Vec<(SmolStr, Arc<dyn tt::TokenExpander>)>,
160 ) -> CrateId { 160 ) -> CrateId {
161 let proc_macro = 161 let proc_macro =
162 proc_macro.into_iter().map(|(name, it)| ProcMacro { name, expander: it }).collect(); 162 proc_macro.into_iter().map(|(name, it)| ProcMacro { name, expander: it }).collect();