mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-25 12:33:33 +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",
|
||||
]
|
||||
|
||||
[[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]]
|
||||
name = "home"
|
||||
version = "0.5.3"
|
||||
|
@ -1063,41 +1091,13 @@ dependencies = [
|
|||
"either",
|
||||
"hir_def",
|
||||
"hir_expand",
|
||||
"itertools",
|
||||
"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",
|
||||
"hir_ty",
|
||||
"itertools",
|
||||
"log",
|
||||
"profile",
|
||||
"rustc-hash",
|
||||
"scoped-tls",
|
||||
"smallvec",
|
||||
"stdx",
|
||||
"syntax",
|
||||
"test_utils",
|
||||
"tracing",
|
||||
"tracing-subscriber",
|
||||
"tracing-tree",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
|
@ -1237,6 +1237,7 @@ dependencies = [
|
|||
"expect",
|
||||
"flycheck",
|
||||
"hir_def",
|
||||
"hir_ty",
|
||||
"itertools",
|
||||
"jod-thread",
|
||||
"log",
|
||||
|
@ -1251,7 +1252,6 @@ dependencies = [
|
|||
"profile",
|
||||
"project_model",
|
||||
"ra_hir",
|
||||
"ra_hir_ty",
|
||||
"ra_ide",
|
||||
"ra_ide_db",
|
||||
"ra_ssr",
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
[package]
|
||||
edition = "2018"
|
||||
name = "ra_hir_ty"
|
||||
version = "0.1.0"
|
||||
authors = ["rust-analyzer developers"]
|
||||
name = "hir_ty"
|
||||
version = "0.0.0"
|
||||
license = "MIT OR Apache-2.0"
|
||||
authors = ["rust-analyzer developers"]
|
||||
edition = "2018"
|
||||
|
||||
[lib]
|
||||
doctest = false
|
||||
|
@ -15,9 +15,12 @@ smallvec = "1.2.0"
|
|||
ena = "0.14.0"
|
||||
log = "0.4.8"
|
||||
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" }
|
||||
|
||||
hir_def = { path = "../hir_def" }
|
||||
hir_expand = { path = "../hir_expand" }
|
||||
arena = { path = "../arena" }
|
||||
|
@ -26,15 +29,9 @@ profile = { path = "../profile" }
|
|||
syntax = { path = "../syntax" }
|
||||
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]
|
||||
expect = { path = "../expect" }
|
||||
|
||||
tracing = "0.1"
|
||||
tracing-subscriber = { version = "0.2", default-features = false, features = ["env-filter", "registry"] }
|
||||
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
|
||||
// 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 {
|
||||
use tracing_subscriber::{layer::SubscriberExt, EnvFilter, Registry};
|
|
@ -22,4 +22,4 @@ base_db = { path = "../base_db" }
|
|||
profile = { path = "../profile" }
|
||||
hir_expand = { path = "../hir_expand" }
|
||||
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" }
|
||||
hir = { path = "../ra_hir", package = "ra_hir" }
|
||||
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" }
|
||||
|
||||
[target.'cfg(windows)'.dependencies]
|
||||
|
|
|
@ -201,7 +201,7 @@ impl TidyDocs {
|
|||
"project_model",
|
||||
"syntax",
|
||||
"tt",
|
||||
"ra_hir_ty",
|
||||
"hir_ty",
|
||||
];
|
||||
|
||||
let mut has_fixmes =
|
||||
|
|
Loading…
Reference in a new issue