mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-29 05:15:12 +00:00
[ty] Update salsa (#17964)
This commit is contained in:
parent
12ce445ff7
commit
6cd8a49638
35 changed files with 187 additions and 234 deletions
|
@ -349,7 +349,7 @@ impl SearchPaths {
|
|||
/// The editable-install search paths for the first `site-packages` directory
|
||||
/// should come between the two `site-packages` directories when it comes to
|
||||
/// module-resolution priority.
|
||||
#[salsa::tracked(return_ref)]
|
||||
#[salsa::tracked(returns(deref))]
|
||||
pub(crate) fn dynamic_resolution_paths(db: &dyn Db) -> Vec<SearchPath> {
|
||||
tracing::debug!("Resolving dynamic module resolution paths");
|
||||
|
||||
|
@ -583,7 +583,7 @@ impl<'db> Iterator for PthFileIterator<'db> {
|
|||
/// This is needed because Salsa requires that all query arguments are salsa ingredients.
|
||||
#[salsa::interned(debug)]
|
||||
struct ModuleNameIngredient<'db> {
|
||||
#[return_ref]
|
||||
#[returns(ref)]
|
||||
pub(super) name: ModuleName,
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue