[ty] Update salsa (#17964)

This commit is contained in:
Micha Reiser 2025-05-09 11:54:07 +02:00 committed by GitHub
parent 12ce445ff7
commit 6cd8a49638
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
35 changed files with 187 additions and 234 deletions

View file

@ -37,7 +37,7 @@ pub(crate) struct Unpack<'db> {
/// The target expression that is being unpacked. For example, in `(a, b) = (1, 2)`, the target
/// expression is `(a, b)`.
#[no_eq]
#[return_ref]
#[returns(deref)]
#[tracked]
pub(crate) target: AstNodeRef<ast::Expr>,
@ -102,7 +102,7 @@ impl<'db> UnpackValue<'db> {
/// Returns the expression as an [`AnyNodeRef`].
pub(crate) fn as_any_node_ref(self, db: &'db dyn Db) -> AnyNodeRef<'db> {
self.expression().node_ref(db).node().into()
self.expression().node_ref(db).into()
}
pub(crate) const fn kind(self) -> UnpackKind {