Skip to content

Commit a27da31

Browse files
Account for IngredientCache::get_or_create() taking &Zalsa and not &dyn Database
1 parent 676f212 commit a27da31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tools/rust-analyzer/crates/span/src/hygiene.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ const _: () = {
112112
{
113113
static CACHE: zalsa_::IngredientCache<zalsa_struct_::IngredientImpl<SyntaxContext>> =
114114
zalsa_::IngredientCache::new();
115-
CACHE.get_or_create(db.as_dyn_database(), || {
115+
CACHE.get_or_create(db.zalsa(), || {
116116
db.zalsa().add_or_lookup_jar_by_type::<zalsa_struct_::JarImpl<SyntaxContext>>()
117117
})
118118
}

0 commit comments

Comments
 (0)