Compare commits

..

1 Commits

Author SHA1 Message Date
David Peter
bac74a120b Make CallArguments salsa::interned 2025-02-20 21:08:42 +01:00
2 changed files with 3 additions and 3 deletions

View File

@@ -5,7 +5,7 @@ use crate::Db;
use super::Type;
/// Typed arguments for a single call, in source order.
#[salsa::tracked]
#[salsa::interned]
pub(crate) struct CallArguments<'db> {
args: Vec<Argument<'db>>,
}
@@ -26,7 +26,7 @@ impl<'a, 'db> CallArguments<'db> {
positional_tys
.into_iter()
.map(Argument::Positional)
.collect(),
.collect::<Vec<_>>(),
)
}

View File

@@ -2770,7 +2770,7 @@ impl<'db> TypeInferenceBuilder<'db> {
}
}
})
.collect(),
.collect::<Vec<_>>(),
)
}