Skip to content

Commit da8bd26

Browse files
authored
Rollup merge of #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 a8cf593 + e52d95b commit da8bd26

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
@@ -4778,8 +4778,6 @@ checksum = "8ba09476327c4b70ccefb6180f046ef588c26a24cf5d269a9feba316eb4f029f"
47784778
name = "rustc_trait_selection"
47794779
version = "0.0.0"
47804780
dependencies = [
4781-
"bitflags 2.5.0",
4782-
"derivative",
47834781
"itertools",
47844782
"rustc_ast",
47854783
"rustc_ast_ir",
@@ -4788,7 +4786,6 @@ dependencies = [
47884786
"rustc_errors",
47894787
"rustc_fluent_macro",
47904788
"rustc_hir",
4791-
"rustc_index",
47924789
"rustc_infer",
47934790
"rustc_macros",
47944791
"rustc_middle",
@@ -4801,7 +4798,6 @@ dependencies = [
48014798
"rustc_target",
48024799
"rustc_transmute",
48034800
"rustc_type_ir",
4804-
"rustc_type_ir_macros",
48054801
"smallvec",
48064802
"tracing",
48074803
]

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)