From a27da3141c0a2cc0d11c3bea310079e29092f14d Mon Sep 17 00:00:00 2001 From: Chayim Refael Friedman Date: Tue, 22 Apr 2025 14:02:55 +0300 Subject: [PATCH] Account for `IngredientCache::get_or_create()` taking `&Zalsa` and not `&dyn Database` --- src/tools/rust-analyzer/crates/span/src/hygiene.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tools/rust-analyzer/crates/span/src/hygiene.rs b/src/tools/rust-analyzer/crates/span/src/hygiene.rs index 6022b5b12094..b21102f2db71 100644 --- a/src/tools/rust-analyzer/crates/span/src/hygiene.rs +++ b/src/tools/rust-analyzer/crates/span/src/hygiene.rs @@ -112,7 +112,7 @@ const _: () = { { static CACHE: zalsa_::IngredientCache> = zalsa_::IngredientCache::new(); - CACHE.get_or_create(db.as_dyn_database(), || { + CACHE.get_or_create(db.zalsa(), || { db.zalsa().add_or_lookup_jar_by_type::>() }) }