Skip to content

Commit c7343f9

Browse files
committed
Update Salsa
1 parent 0fad53d commit c7343f9

File tree

4 files changed

+6
-7
lines changed

4 files changed

+6
-7
lines changed

Cargo.lock

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ rayon = { version = "1.10.0" }
123123
regex = { version = "1.10.2" }
124124
rustc-hash = { version = "2.0.0" }
125125
# When updating salsa, make sure to also update the revision in `fuzz/Cargo.toml`
126-
salsa = { git = "https://github.com/salsa-rs/salsa.git", rev = "c8826fa4d1d9e3cba4c6e578763878b71fa9a10d" }
126+
salsa = { git = "https://github.com/salsa-rs/salsa.git", rev = "687251fb50b4893dc373a7e2609ceaefb8accbe7" }
127127
schemars = { version = "0.8.16" }
128128
seahash = { version = "4.1.0" }
129129
serde = { version = "1.0.197", features = ["derive"] }

crates/red_knot_python_semantic/src/unpack.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ pub(crate) struct Unpack<'db> {
4141

4242
/// The ingredient representing the value expression of the unpacking. For example, in
4343
/// `(a, b) = (1, 2)`, the value expression is `(1, 2)`.
44-
#[no_eq]
4544
pub(crate) value: UnpackValue<'db>,
4645

4746
count: countme::Count<Unpack<'static>>,
@@ -60,7 +59,7 @@ impl<'db> Unpack<'db> {
6059
}
6160

6261
/// The expression that is being unpacked.
63-
#[derive(Clone, Copy, Debug, Hash)]
62+
#[derive(Clone, Copy, Debug, Hash, salsa::Update)]
6463
pub(crate) enum UnpackValue<'db> {
6564
/// An iterable expression like the one in a `for` loop or a comprehension.
6665
Iterable(Expression<'db>),

fuzz/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ ruff_python_formatter = { path = "../crates/ruff_python_formatter" }
2929
ruff_text_size = { path = "../crates/ruff_text_size" }
3030

3131
libfuzzer-sys = { git = "https://github.com/rust-fuzz/libfuzzer", default-features = false }
32-
salsa = { git = "https://github.com/salsa-rs/salsa.git", rev = "c8826fa4d1d9e3cba4c6e578763878b71fa9a10d" }
32+
salsa = { git = "https://github.com/salsa-rs/salsa.git", rev = "687251fb50b4893dc373a7e2609ceaefb8accbe7" }
3333
similar = { version = "2.5.0" }
3434
tracing = { version = "0.1.40" }
3535

0 commit comments

Comments
 (0)