Skip to content

Commit b3e99b2

Browse files
authored
Fix missing serde feature for red_knot_python_semantic (astral-sh#16169)
## Summary Running `cargo test -p red_knot_python_semantic` failed because of a missing serde feature. This PR enables the `ruff_python_ast`'`s `serde` if the crate's `serde` feature is enabled ## Test Plan `cargo test -p red_knot_python_semantic` compiles again
1 parent dcabb94 commit b3e99b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/red_knot_python_semantic/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ quickcheck = { version = "1.0.3", default-features = false }
5757
quickcheck_macros = { version = "1.0.0" }
5858

5959
[features]
60-
serde = ["ruff_db/serde", "dep:serde"]
60+
serde = ["ruff_db/serde", "dep:serde", "ruff_python_ast/serde"]
6161

6262
[lints]
6363
workspace = true

0 commit comments

Comments
 (0)