Skip to content

Commit 80f240a

Browse files
Make it not depend on nightly conditionally
1 parent 1f5895b commit 80f240a

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

compiler/rustc_next_trait_solver/Cargo.toml

+7-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,10 @@ version = "0.0.0"
44
edition = "2021"
55

66
[dependencies]
7-
rustc_type_ir = { path = "../rustc_type_ir" }
7+
rustc_type_ir = { path = "../rustc_type_ir", default-features = false }
8+
9+
[features]
10+
default = ["nightly"]
11+
nightly = [
12+
"rustc_type_ir/nightly",
13+
]

0 commit comments

Comments
 (0)