mirror of
https://github.com/salsa-rs/salsa.git
synced 2025-01-12 16:35:21 +00:00
add new trait bounds
This commit is contained in:
parent
87dd14293e
commit
860a1ab1bf
1 changed files with 3 additions and 1 deletions
|
@ -204,7 +204,9 @@ pub(crate) fn query_group(args: TokenStream, input: TokenStream) -> TokenStream
|
||||||
quote! {
|
quote! {
|
||||||
impl<T> #trait_name for T
|
impl<T> #trait_name for T
|
||||||
where
|
where
|
||||||
T: #(salsa::plumbing::GetQueryTable<#qts> +)* #bounds
|
T: #(salsa::plumbing::GetQueryTable<#qts> +)* #bounds,
|
||||||
|
T: ::salsa::plumbing::GetQueryGroupStorage<#group_storage<T>>,
|
||||||
|
T: ::salsa::plumbing::FromQueryGroupDescriptor<#group_descriptor>,
|
||||||
{
|
{
|
||||||
#query_fn_definitions
|
#query_fn_definitions
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue