Skip to content

Commit fa70f6b

Browse files
authored
Rollup merge of rust-lang#143038 - Qelxiros:142676-private-dependency-traits, r=tgross35
avoid suggesting traits from private dependencies fixes rust-lang#142676 fixes rust-lang#138191 r? ``@tgross35``
2 parents 1cc1d0d + 16148b2 commit fa70f6b

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

rustc-std-workspace-core/Cargo.toml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
cargo-features = ["public-dependency"]
2+
13
[package]
24
name = "rustc-std-workspace-core"
35
version = "1.99.0"
@@ -11,5 +13,7 @@ edition = "2024"
1113
path = "lib.rs"
1214

1315
[dependencies]
14-
core = { path = "../core" }
15-
compiler_builtins = { path = "../compiler-builtins/compiler-builtins", features = ["compiler-builtins"] }
16+
core = { path = "../core", public = true }
17+
compiler_builtins = { path = "../compiler-builtins/compiler-builtins", features = [
18+
"compiler-builtins",
19+
] }

0 commit comments

Comments
 (0)