Unnamed repository; edit this file 'description' to name the repository.
Account for `IngredientCache::get_or_create()` taking `&Zalsa` and not `&dyn Database`
Chayim Refael Friedman 2025-04-22
parent 547c124 · commit 6e4abf1
-rw-r--r--crates/span/src/hygiene.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/span/src/hygiene.rs b/crates/span/src/hygiene.rs
index 6022b5b120..b21102f2db 100644
--- a/crates/span/src/hygiene.rs
+++ b/crates/span/src/hygiene.rs
@@ -112,7 +112,7 @@ const _: () = {
{
static CACHE: zalsa_::IngredientCache<zalsa_struct_::IngredientImpl<SyntaxContext>> =
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::<zalsa_struct_::JarImpl<SyntaxContext>>()
})
}