Skip to content

Commit 1fce09b

Browse files
authored
Rollup merge of rust-lang#127131 - Kobzol:remove-unused-deps, r=compiler-errors
Remove unused `rustc_trait_selection` dependencies Found using `cargo-machete`. The `bitflags` and `derivative` crates were added for the new trait solver, but weren't removed when the next trait solver code was uplifted to a separate crate.
2 parents a23f956 + e52d95b commit 1fce09b

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

Cargo.lock

-4
Original file line numberDiff line numberDiff line change
@@ -4771,8 +4771,6 @@ checksum = "8ba09476327c4b70ccefb6180f046ef588c26a24cf5d269a9feba316eb4f029f"
47714771
name = "rustc_trait_selection"
47724772
version = "0.0.0"
47734773
dependencies = [
4774-
"bitflags 2.5.0",
4775-
"derivative",
47764774
"itertools",
47774775
"rustc_ast",
47784776
"rustc_ast_ir",
@@ -4781,7 +4779,6 @@ dependencies = [
47814779
"rustc_errors",
47824780
"rustc_fluent_macro",
47834781
"rustc_hir",
4784-
"rustc_index",
47854782
"rustc_infer",
47864783
"rustc_macros",
47874784
"rustc_middle",
@@ -4794,7 +4791,6 @@ dependencies = [
47944791
"rustc_target",
47954792
"rustc_transmute",
47964793
"rustc_type_ir",
4797-
"rustc_type_ir_macros",
47984794
"smallvec",
47994795
"tracing",
48004796
]

compiler/rustc_trait_selection/Cargo.toml

-4
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ edition = "2021"
55

66
[dependencies]
77
# tidy-alphabetical-start
8-
bitflags = "2.4.1"
9-
derivative = "2.2.0"
108
itertools = "0.12"
119
rustc_ast = { path = "../rustc_ast" }
1210
rustc_ast_ir = { path = "../rustc_ast_ir" }
@@ -15,7 +13,6 @@ rustc_data_structures = { path = "../rustc_data_structures" }
1513
rustc_errors = { path = "../rustc_errors" }
1614
rustc_fluent_macro = { path = "../rustc_fluent_macro" }
1715
rustc_hir = { path = "../rustc_hir" }
18-
rustc_index = { path = "../rustc_index" }
1916
rustc_infer = { path = "../rustc_infer" }
2017
rustc_macros = { path = "../rustc_macros" }
2118
rustc_middle = { path = "../rustc_middle" }
@@ -28,7 +25,6 @@ rustc_span = { path = "../rustc_span" }
2825
rustc_target = { path = "../rustc_target" }
2926
rustc_transmute = { path = "../rustc_transmute", features = ["rustc"] }
3027
rustc_type_ir = { path = "../rustc_type_ir" }
31-
rustc_type_ir_macros = { path = "../rustc_type_ir_macros" }
3228
smallvec = { version = "1.8.1", features = ["union", "may_dangle"] }
3329
tracing = "0.1"
3430
# tidy-alphabetical-end

0 commit comments

Comments
 (0)