mirror of
https://github.com/salsa-rs/salsa.git
synced 2025-08-05 03:18:19 +00:00
require databases and ingredients to be static
This commit is contained in:
parent
a1bf3a613f
commit
e1920bdda6
27 changed files with 65 additions and 73 deletions
|
@ -282,9 +282,8 @@ impl<A: AllowedOptions> SalsaStruct<A> {
|
|||
|
||||
pub(crate) fn db_dyn_ty(&self) -> syn::Type {
|
||||
let jar_ty = self.jar_ty();
|
||||
let lt_db = self.maybe_elided_db_lifetime();
|
||||
parse_quote! {
|
||||
<#jar_ty as salsa::jar::Jar< #lt_db >>::DynDb
|
||||
<#jar_ty as salsa::jar::Jar>::DynDb
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue