Move rustc_infer::traits to new crate rustc_trait_selection.

This commit is contained in:
Camille GILLOT 2020-02-11 19:53:40 +01:00
parent 21d4e063bc
commit c1e3d556bf
47 changed files with 64 additions and 0 deletions

View File

@ -3826,6 +3826,7 @@ dependencies = [
"rustc_session",
"rustc_span",
"rustc_target",
"rustc_trait_selection",
"rustc_traits",
"rustc_ty",
"rustc_typeck",
@ -3860,6 +3861,7 @@ dependencies = [
"rustc_session",
"rustc_span",
"rustc_target",
"rustc_trait_selection",
"unicode-security",
]
@ -3929,6 +3931,7 @@ dependencies = [
"rustc_macros",
"rustc_span",
"rustc_target",
"rustc_trait_selection",
"serialize",
"smallvec 1.0.0",
]
@ -3952,6 +3955,7 @@ dependencies = [
"rustc_session",
"rustc_span",
"rustc_target",
"rustc_trait_selection",
"serialize",
"smallvec 1.0.0",
]
@ -3992,6 +3996,7 @@ dependencies = [
"rustc_session",
"rustc_span",
"rustc_target",
"rustc_trait_selection",
]
[[package]]
@ -4119,6 +4124,27 @@ version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b725dadae9fabc488df69a287f5a99c5eaf5d10853842a8a3dfac52476f544ee"
[[package]]
name = "rustc_trait_selection"
version = "0.0.0"
dependencies = [
"fmt_macros",
"log",
"rustc",
"rustc_ast",
"rustc_attr",
"rustc_data_structures",
"rustc_errors",
"rustc_hir",
"rustc_index",
"rustc_infer",
"rustc_macros",
"rustc_session",
"rustc_span",
"rustc_target",
"smallvec 1.0.0",
]
[[package]]
name = "rustc_traits"
version = "0.0.0"
@ -4132,6 +4158,7 @@ dependencies = [
"rustc_macros",
"rustc_span",
"rustc_target",
"rustc_trait_selection",
"smallvec 1.0.0",
]
@ -4146,6 +4173,7 @@ dependencies = [
"rustc_infer",
"rustc_span",
"rustc_target",
"rustc_trait_selection",
]
[[package]]
@ -4164,6 +4192,7 @@ dependencies = [
"rustc_infer",
"rustc_span",
"rustc_target",
"rustc_trait_selection",
"smallvec 1.0.0",
]

View File

@ -42,6 +42,7 @@ rustc_errors = { path = "../librustc_errors" }
rustc_plugin_impl = { path = "../librustc_plugin_impl" }
rustc_privacy = { path = "../librustc_privacy" }
rustc_resolve = { path = "../librustc_resolve" }
rustc_trait_selection = { path = "../librustc_trait_selection" }
rustc_ty = { path = "../librustc_ty" }
tempfile = "3.0.5"
once_cell = "1"

View File

@ -24,3 +24,4 @@ rustc_feature = { path = "../librustc_feature" }
rustc_index = { path = "../librustc_index" }
rustc_session = { path = "../librustc_session" }
rustc_infer = { path = "../librustc_infer" }
rustc_trait_selection = { path = "../librustc_trait_selection" }

View File

@ -28,6 +28,7 @@ rustc_lexer = { path = "../librustc_lexer" }
rustc_macros = { path = "../librustc_macros" }
rustc_serialize = { path = "../libserialize", package = "serialize" }
rustc_target = { path = "../librustc_target" }
rustc_trait_selection = { path = "../librustc_trait_selection" }
rustc_ast = { path = "../librustc_ast" }
rustc_span = { path = "../librustc_span" }
rustc_apfloat = { path = "../librustc_apfloat" }

View File

@ -25,5 +25,6 @@ rustc_serialize = { path = "../libserialize", package = "serialize" }
rustc_session = { path = "../librustc_session" }
rustc_span = { path = "../librustc_span" }
rustc_target = { path = "../librustc_target" }
rustc_trait_selection = { path = "../librustc_trait_selection" }
rustc_ast = { path = "../librustc_ast" }
smallvec = { version = "1.0", features = ["union", "may_dangle"] }

View File

@ -22,3 +22,4 @@ rustc_session = { path = "../librustc_session" }
rustc_target = { path = "../librustc_target" }
rustc_ast = { path = "../librustc_ast" }
rustc_span = { path = "../librustc_span" }
rustc_trait_selection = { path = "../librustc_trait_selection" }

View File

@ -0,0 +1,27 @@
[package]
authors = ["The Rust Project Developers"]
name = "rustc_trait_selection"
version = "0.0.0"
edition = "2018"
[lib]
name = "rustc_trait_selection"
path = "lib.rs"
doctest = false
[dependencies]
fmt_macros = { path = "../libfmt_macros" }
log = { version = "0.4", features = ["release_max_level_info", "std"] }
rustc_attr = { path = "../librustc_attr" }
rustc = { path = "../librustc" }
rustc_ast = { path = "../librustc_ast" }
rustc_data_structures = { path = "../librustc_data_structures" }
rustc_errors = { path = "../librustc_errors" }
rustc_hir = { path = "../librustc_hir" }
rustc_index = { path = "../librustc_index" }
rustc_infer = { path = "../librustc_infer" }
rustc_macros = { path = "../librustc_macros" }
rustc_session = { path = "../librustc_session" }
rustc_span = { path = "../librustc_span" }
rustc_target = { path = "../librustc_target" }
smallvec = { version = "1.0", features = ["union", "may_dangle"] }

View File

@ -19,3 +19,4 @@ rustc_ast = { path = "../librustc_ast" }
rustc_span = { path = "../librustc_span" }
smallvec = { version = "1.0", features = ["union", "may_dangle"] }
rustc_infer = { path = "../librustc_infer" }
rustc_trait_selection = { path = "../librustc_trait_selection" }

View File

@ -16,3 +16,4 @@ rustc_hir = { path = "../librustc_hir" }
rustc_infer = { path = "../librustc_infer" }
rustc_span = { path = "../librustc_span" }
rustc_target = { path = "../librustc_target" }
rustc_trait_selection = { path = "../librustc_trait_selection" }

View File

@ -24,3 +24,4 @@ rustc_ast = { path = "../librustc_ast" }
rustc_span = { path = "../librustc_span" }
rustc_index = { path = "../librustc_index" }
rustc_infer = { path = "../librustc_infer" }
rustc_trait_selection = { path = "../librustc_trait_selection" }