mirror of
https://github.com/astral-sh/ruff.git
synced 2025-10-02 06:42:02 +00:00
Update Salsa part 1 (#16340)
This commit is contained in:
parent
bc018bf2e5
commit
5eaf225fc3
4 changed files with 6 additions and 7 deletions
|
@ -41,7 +41,6 @@ pub(crate) struct Unpack<'db> {
|
|||
|
||||
/// The ingredient representing the value expression of the unpacking. For example, in
|
||||
/// `(a, b) = (1, 2)`, the value expression is `(1, 2)`.
|
||||
#[no_eq]
|
||||
pub(crate) value: UnpackValue<'db>,
|
||||
|
||||
count: countme::Count<Unpack<'static>>,
|
||||
|
@ -60,7 +59,7 @@ impl<'db> Unpack<'db> {
|
|||
}
|
||||
|
||||
/// The expression that is being unpacked.
|
||||
#[derive(Clone, Copy, Debug, Hash)]
|
||||
#[derive(Clone, Copy, Debug, Hash, salsa::Update)]
|
||||
pub(crate) enum UnpackValue<'db> {
|
||||
/// An iterable expression like the one in a `for` loop or a comprehension.
|
||||
Iterable(Expression<'db>),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue