diff options
author | Aleksey Kladov <[email protected]> | 2020-08-13 09:19:09 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2020-08-13 09:36:04 +0100 |
commit | 68c223872562a8d746d4f1045d508887a0cbca5e (patch) | |
tree | bac1ba4b5a484a8aa3d3bb91b1d6f4c10ff83b5b /crates/ra_project_model | |
parent | 5734cc85868bf5fe2e4e023b40913b2063a78e31 (diff) |
Rename ra_cfg -> cfg
Diffstat (limited to 'crates/ra_project_model')
-rw-r--r-- | crates/ra_project_model/Cargo.toml | 2 | ||||
-rw-r--r-- | crates/ra_project_model/src/cfg_flag.rs | 2 | ||||
-rw-r--r-- | crates/ra_project_model/src/lib.rs | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/crates/ra_project_model/Cargo.toml b/crates/ra_project_model/Cargo.toml index 171fe8626..52f2d57b3 100644 --- a/crates/ra_project_model/Cargo.toml +++ b/crates/ra_project_model/Cargo.toml | |||
@@ -15,7 +15,7 @@ rustc-hash = "1.1.0" | |||
15 | cargo_metadata = "0.11.1" | 15 | cargo_metadata = "0.11.1" |
16 | 16 | ||
17 | arena = { path = "../arena" } | 17 | arena = { path = "../arena" } |
18 | ra_cfg = { path = "../ra_cfg" } | 18 | cfg = { path = "../cfg" } |
19 | ra_db = { path = "../ra_db" } | 19 | ra_db = { path = "../ra_db" } |
20 | toolchain = { path = "../toolchain" } | 20 | toolchain = { path = "../toolchain" } |
21 | ra_proc_macro = { path = "../ra_proc_macro" } | 21 | ra_proc_macro = { path = "../ra_proc_macro" } |
diff --git a/crates/ra_project_model/src/cfg_flag.rs b/crates/ra_project_model/src/cfg_flag.rs index bd50056c6..e92962cf6 100644 --- a/crates/ra_project_model/src/cfg_flag.rs +++ b/crates/ra_project_model/src/cfg_flag.rs | |||
@@ -3,7 +3,7 @@ | |||
3 | //! rustc main.rs --cfg foo --cfg 'feature="bar"' | 3 | //! rustc main.rs --cfg foo --cfg 'feature="bar"' |
4 | use std::str::FromStr; | 4 | use std::str::FromStr; |
5 | 5 | ||
6 | use ra_cfg::CfgOptions; | 6 | use cfg::CfgOptions; |
7 | use stdx::split_once; | 7 | use stdx::split_once; |
8 | 8 | ||
9 | #[derive(Clone, Eq, PartialEq, Debug)] | 9 | #[derive(Clone, Eq, PartialEq, Debug)] |
diff --git a/crates/ra_project_model/src/lib.rs b/crates/ra_project_model/src/lib.rs index 46f44910c..47e7d2420 100644 --- a/crates/ra_project_model/src/lib.rs +++ b/crates/ra_project_model/src/lib.rs | |||
@@ -13,7 +13,7 @@ use std::{ | |||
13 | 13 | ||
14 | use anyhow::{bail, Context, Result}; | 14 | use anyhow::{bail, Context, Result}; |
15 | use paths::{AbsPath, AbsPathBuf}; | 15 | use paths::{AbsPath, AbsPathBuf}; |
16 | use ra_cfg::CfgOptions; | 16 | use cfg::CfgOptions; |
17 | use ra_db::{CrateGraph, CrateId, CrateName, Edition, Env, FileId}; | 17 | use ra_db::{CrateGraph, CrateId, CrateName, Edition, Env, FileId}; |
18 | use rustc_hash::{FxHashMap, FxHashSet}; | 18 | use rustc_hash::{FxHashMap, FxHashSet}; |
19 | 19 | ||