We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
IngredientCache::get_or_create()
&Zalsa
&dyn Database
1 parent 676f212 commit a27da31Copy full SHA for a27da31
src/tools/rust-analyzer/crates/span/src/hygiene.rs
@@ -112,7 +112,7 @@ const _: () = {
112
{
113
static CACHE: zalsa_::IngredientCache<zalsa_struct_::IngredientImpl<SyntaxContext>> =
114
zalsa_::IngredientCache::new();
115
- CACHE.get_or_create(db.as_dyn_database(), || {
+ CACHE.get_or_create(db.zalsa(), || {
116
db.zalsa().add_or_lookup_jar_by_type::<zalsa_struct_::JarImpl<SyntaxContext>>()
117
})
118
}
0 commit comments