mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-29 13:25:17 +00:00
Upgrade salsa (#15039)
The only code change is that Salsa now requires the `Db` to implement `Clone` to create "lightweight" snapshots.
This commit is contained in:
parent
c9fdb1f5e3
commit
c3b6139f39
13 changed files with 23 additions and 46 deletions
|
@ -27,6 +27,7 @@ pub(crate) mod tests {
|
|||
use ruff_db::{Db as SourceDb, Upcast};
|
||||
|
||||
#[salsa::db]
|
||||
#[derive(Clone)]
|
||||
pub(crate) struct TestDb {
|
||||
storage: salsa::Storage<Self>,
|
||||
files: Files,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue