mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-25 20:43:21 +00:00
Rename ra_hir_ty -> hir_ty
This commit is contained in:
parent
50f8c1ebf2
commit
6a77ec7bbe
40 changed files with 44 additions and 47 deletions
60
Cargo.lock
generated
60
Cargo.lock
generated
|
@ -507,6 +507,34 @@ dependencies = [
|
||||||
"tt",
|
"tt",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "hir_ty"
|
||||||
|
version = "0.0.0"
|
||||||
|
dependencies = [
|
||||||
|
"arena",
|
||||||
|
"arrayvec",
|
||||||
|
"base_db",
|
||||||
|
"chalk-ir",
|
||||||
|
"chalk-recursive",
|
||||||
|
"chalk-solve",
|
||||||
|
"ena",
|
||||||
|
"expect",
|
||||||
|
"hir_def",
|
||||||
|
"hir_expand",
|
||||||
|
"itertools",
|
||||||
|
"log",
|
||||||
|
"profile",
|
||||||
|
"rustc-hash",
|
||||||
|
"scoped-tls",
|
||||||
|
"smallvec",
|
||||||
|
"stdx",
|
||||||
|
"syntax",
|
||||||
|
"test_utils",
|
||||||
|
"tracing",
|
||||||
|
"tracing-subscriber",
|
||||||
|
"tracing-tree",
|
||||||
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "home"
|
name = "home"
|
||||||
version = "0.5.3"
|
version = "0.5.3"
|
||||||
|
@ -1063,41 +1091,13 @@ dependencies = [
|
||||||
"either",
|
"either",
|
||||||
"hir_def",
|
"hir_def",
|
||||||
"hir_expand",
|
"hir_expand",
|
||||||
"itertools",
|
"hir_ty",
|
||||||
"log",
|
|
||||||
"profile",
|
|
||||||
"ra_hir_ty",
|
|
||||||
"rustc-hash",
|
|
||||||
"stdx",
|
|
||||||
"syntax",
|
|
||||||
]
|
|
||||||
|
|
||||||
[[package]]
|
|
||||||
name = "ra_hir_ty"
|
|
||||||
version = "0.1.0"
|
|
||||||
dependencies = [
|
|
||||||
"arena",
|
|
||||||
"arrayvec",
|
|
||||||
"base_db",
|
|
||||||
"chalk-ir",
|
|
||||||
"chalk-recursive",
|
|
||||||
"chalk-solve",
|
|
||||||
"ena",
|
|
||||||
"expect",
|
|
||||||
"hir_def",
|
|
||||||
"hir_expand",
|
|
||||||
"itertools",
|
"itertools",
|
||||||
"log",
|
"log",
|
||||||
"profile",
|
"profile",
|
||||||
"rustc-hash",
|
"rustc-hash",
|
||||||
"scoped-tls",
|
|
||||||
"smallvec",
|
|
||||||
"stdx",
|
"stdx",
|
||||||
"syntax",
|
"syntax",
|
||||||
"test_utils",
|
|
||||||
"tracing",
|
|
||||||
"tracing-subscriber",
|
|
||||||
"tracing-tree",
|
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
|
@ -1237,6 +1237,7 @@ dependencies = [
|
||||||
"expect",
|
"expect",
|
||||||
"flycheck",
|
"flycheck",
|
||||||
"hir_def",
|
"hir_def",
|
||||||
|
"hir_ty",
|
||||||
"itertools",
|
"itertools",
|
||||||
"jod-thread",
|
"jod-thread",
|
||||||
"log",
|
"log",
|
||||||
|
@ -1251,7 +1252,6 @@ dependencies = [
|
||||||
"profile",
|
"profile",
|
||||||
"project_model",
|
"project_model",
|
||||||
"ra_hir",
|
"ra_hir",
|
||||||
"ra_hir_ty",
|
|
||||||
"ra_ide",
|
"ra_ide",
|
||||||
"ra_ide_db",
|
"ra_ide_db",
|
||||||
"ra_ssr",
|
"ra_ssr",
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
[package]
|
[package]
|
||||||
edition = "2018"
|
name = "hir_ty"
|
||||||
name = "ra_hir_ty"
|
version = "0.0.0"
|
||||||
version = "0.1.0"
|
|
||||||
authors = ["rust-analyzer developers"]
|
|
||||||
license = "MIT OR Apache-2.0"
|
license = "MIT OR Apache-2.0"
|
||||||
|
authors = ["rust-analyzer developers"]
|
||||||
|
edition = "2018"
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
doctest = false
|
doctest = false
|
||||||
|
@ -15,9 +15,12 @@ smallvec = "1.2.0"
|
||||||
ena = "0.14.0"
|
ena = "0.14.0"
|
||||||
log = "0.4.8"
|
log = "0.4.8"
|
||||||
rustc-hash = "1.1.0"
|
rustc-hash = "1.1.0"
|
||||||
|
scoped-tls = "1"
|
||||||
|
chalk-solve = { version = "0.21.0" }
|
||||||
|
chalk-ir = { version = "0.21.0" }
|
||||||
|
chalk-recursive = { version = "0.21.0" }
|
||||||
|
|
||||||
stdx = { path = "../stdx" }
|
stdx = { path = "../stdx" }
|
||||||
|
|
||||||
hir_def = { path = "../hir_def" }
|
hir_def = { path = "../hir_def" }
|
||||||
hir_expand = { path = "../hir_expand" }
|
hir_expand = { path = "../hir_expand" }
|
||||||
arena = { path = "../arena" }
|
arena = { path = "../arena" }
|
||||||
|
@ -26,15 +29,9 @@ profile = { path = "../profile" }
|
||||||
syntax = { path = "../syntax" }
|
syntax = { path = "../syntax" }
|
||||||
test_utils = { path = "../test_utils" }
|
test_utils = { path = "../test_utils" }
|
||||||
|
|
||||||
scoped-tls = "1"
|
|
||||||
|
|
||||||
chalk-solve = { version = "0.21.0" }
|
|
||||||
chalk-ir = { version = "0.21.0" }
|
|
||||||
chalk-recursive = { version = "0.21.0" }
|
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
expect = { path = "../expect" }
|
|
||||||
|
|
||||||
tracing = "0.1"
|
tracing = "0.1"
|
||||||
tracing-subscriber = { version = "0.2", default-features = false, features = ["env-filter", "registry"] }
|
tracing-subscriber = { version = "0.2", default-features = false, features = ["env-filter", "registry"] }
|
||||||
tracing-tree = { version = "0.1.4" }
|
tracing-tree = { version = "0.1.4" }
|
||||||
|
|
||||||
|
expect = { path = "../expect" }
|
|
@ -35,7 +35,7 @@ use crate::{
|
||||||
|
|
||||||
// These tests compare the inference results for all expressions in a file
|
// These tests compare the inference results for all expressions in a file
|
||||||
// against snapshots of the expected results using expect. Use
|
// against snapshots of the expected results using expect. Use
|
||||||
// `env UPDATE_EXPECT=1 cargo test -p ra_hir_ty` to update the snapshots.
|
// `env UPDATE_EXPECT=1 cargo test -p hir_ty` to update the snapshots.
|
||||||
|
|
||||||
fn setup_tracing() -> tracing::subscriber::DefaultGuard {
|
fn setup_tracing() -> tracing::subscriber::DefaultGuard {
|
||||||
use tracing_subscriber::{layer::SubscriberExt, EnvFilter, Registry};
|
use tracing_subscriber::{layer::SubscriberExt, EnvFilter, Registry};
|
|
@ -22,4 +22,4 @@ base_db = { path = "../base_db" }
|
||||||
profile = { path = "../profile" }
|
profile = { path = "../profile" }
|
||||||
hir_expand = { path = "../hir_expand" }
|
hir_expand = { path = "../hir_expand" }
|
||||||
hir_def = { path = "../hir_def" }
|
hir_def = { path = "../hir_def" }
|
||||||
hir_ty = { path = "../ra_hir_ty", package = "ra_hir_ty" }
|
hir_ty = { path = "../hir_ty" }
|
||||||
|
|
|
@ -51,7 +51,7 @@ ra_ide_db = { path = "../ra_ide_db" }
|
||||||
ra_ssr = { path = "../ra_ssr" }
|
ra_ssr = { path = "../ra_ssr" }
|
||||||
hir = { path = "../ra_hir", package = "ra_hir" }
|
hir = { path = "../ra_hir", package = "ra_hir" }
|
||||||
hir_def = { path = "../hir_def" }
|
hir_def = { path = "../hir_def" }
|
||||||
hir_ty = { path = "../ra_hir_ty", package = "ra_hir_ty" }
|
hir_ty = { path = "../hir_ty" }
|
||||||
proc_macro_srv = { path = "../proc_macro_srv" }
|
proc_macro_srv = { path = "../proc_macro_srv" }
|
||||||
|
|
||||||
[target.'cfg(windows)'.dependencies]
|
[target.'cfg(windows)'.dependencies]
|
||||||
|
|
|
@ -201,7 +201,7 @@ impl TidyDocs {
|
||||||
"project_model",
|
"project_model",
|
||||||
"syntax",
|
"syntax",
|
||||||
"tt",
|
"tt",
|
||||||
"ra_hir_ty",
|
"hir_ty",
|
||||||
];
|
];
|
||||||
|
|
||||||
let mut has_fixmes =
|
let mut has_fixmes =
|
||||||
|
|
Loading…
Reference in a new issue