From 550d7fbe3cbf2af4a47fca6c9bbefaf798cd7b7b Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Wed, 12 Aug 2020 16:46:20 +0200 Subject: Rename ra_tt -> tt --- crates/ra_db/Cargo.toml | 2 +- crates/ra_db/src/input.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'crates/ra_db') 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" ra_syntax = { path = "../ra_syntax" } ra_cfg = { path = "../ra_cfg" } profile = { path = "../profile" } -ra_tt = { path = "../ra_tt" } +tt = { path = "../tt" } test_utils = { path = "../test_utils" } vfs = { path = "../vfs" } stdx = { 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}; use ra_cfg::CfgOptions; use ra_syntax::SmolStr; -use ra_tt::TokenExpander; use rustc_hash::{FxHashMap, FxHashSet}; +use tt::TokenExpander; use vfs::file_set::FileSet; pub use vfs::FileId; @@ -156,7 +156,7 @@ impl CrateGraph { display_name: Option, cfg_options: CfgOptions, env: Env, - proc_macro: Vec<(SmolStr, Arc)>, + proc_macro: Vec<(SmolStr, Arc)>, ) -> CrateId { let proc_macro = proc_macro.into_iter().map(|(name, it)| ProcMacro { name, expander: it }).collect(); -- cgit v1.2.3